public void Read(ModifyOrderConsigneeReq structs, Protocol iprot)
        {
            String schemeStruct = iprot.ReadStructBegin();

            if (schemeStruct != null)
            {
                while (true)
                {
                    String schemeField = iprot.ReadFieldBegin();
                    if (schemeField == null)
                    {
                        break;
                    }
                    bool needSkip = true;


                    if ("service".Equals(schemeField.Trim()))
                    {
                        needSkip = false;
                        string value;
                        value = iprot.ReadString();

                        structs.SetService(value);
                    }



                    if ("order".Equals(schemeField.Trim()))
                    {
                        needSkip = false;
                        com.vip.order.common.pojo.order.vo.OrderVO value;

                        value = new com.vip.order.common.pojo.order.vo.OrderVO();
                        com.vip.order.common.pojo.order.vo.OrderVOHelper.getInstance().Read(value, iprot);

                        structs.SetOrder(value);
                    }



                    if ("orderInvoice".Equals(schemeField.Trim()))
                    {
                        needSkip = false;
                        com.vip.order.common.pojo.order.vo.OrderInvoiceVO value;

                        value = new com.vip.order.common.pojo.order.vo.OrderInvoiceVO();
                        com.vip.order.common.pojo.order.vo.OrderInvoiceVOHelper.getInstance().Read(value, iprot);

                        structs.SetOrderInvoice(value);
                    }



                    if ("orderAddress".Equals(schemeField.Trim()))
                    {
                        needSkip = false;
                        com.vip.order.common.pojo.order.vo.OrderReceiveAddrVO value;

                        value = new com.vip.order.common.pojo.order.vo.OrderReceiveAddrVO();
                        com.vip.order.common.pojo.order.vo.OrderReceiveAddrVOHelper.getInstance().Read(value, iprot);

                        structs.SetOrderAddress(value);
                    }



                    if ("is4Level".Equals(schemeField.Trim()))
                    {
                        needSkip = false;
                        int?value;
                        value = iprot.ReadI32();

                        structs.SetIs4Level(value);
                    }



                    if ("addressId".Equals(schemeField.Trim()))
                    {
                        needSkip = false;
                        long?value;
                        value = iprot.ReadI64();

                        structs.SetAddressId(value);
                    }



                    if ("supplierCancel".Equals(schemeField.Trim()))
                    {
                        needSkip = false;
                        int?value;
                        value = iprot.ReadI32();

                        structs.SetSupplierCancel(value);
                    }



                    if ("orderCategory".Equals(schemeField.Trim()))
                    {
                        needSkip = false;
                        int?value;
                        value = iprot.ReadI32();

                        structs.SetOrderCategory(value);
                    }



                    if ("orderDeviceInfo".Equals(schemeField.Trim()))
                    {
                        needSkip = false;
                        com.vip.order.common.pojo.order.vo.OrderDeviceInfoVO value;

                        value = new com.vip.order.common.pojo.order.vo.OrderDeviceInfoVO();
                        com.vip.order.common.pojo.order.vo.OrderDeviceInfoVOHelper.getInstance().Read(value, iprot);

                        structs.SetOrderDeviceInfo(value);
                    }



                    if (needSkip)
                    {
                        ProtocolUtil.skip(iprot);
                    }

                    iprot.ReadFieldEnd();
                }

                iprot.ReadStructEnd();
                Validate(structs);
            }
            else
            {
                throw new OspException();
            }
        }
 public void SetOrderDeviceInfo(com.vip.order.common.pojo.order.vo.OrderDeviceInfoVO value)
 {
     this.orderDeviceInfo_ = value;
 }