public void Read(getRealtimeInventory_args structs, Protocol iprot)
            {
                if (true)
                {
                    string value;
                    value = iprot.ReadString();

                    structs.SetVendor_id(value);
                }



                if (true)
                {
                    int?value;
                    value = iprot.ReadI32();

                    structs.SetPage_index(value);
                }



                if (true)
                {
                    int?value;
                    value = iprot.ReadI32();

                    structs.SetPage_count(value);
                }



                if (true)
                {
                    com.vip.domain.inventory.RealtimeInventoryCondition value;

                    value = new com.vip.domain.inventory.RealtimeInventoryCondition();
                    com.vip.domain.inventory.RealtimeInventoryConditionHelper.getInstance().Read(value, iprot);

                    structs.SetQueryCondition(value);
                }



                Validate(structs);
            }
            private void send_getRealtimeInventory(string vendor_id_, int?page_index_, int?page_count_, com.vip.domain.inventory.RealtimeInventoryCondition queryCondition_)
            {
                InitInvocation("getRealtimeInventory");

                getRealtimeInventory_args args = new getRealtimeInventory_args();

                args.SetVendor_id(vendor_id_);
                args.SetPage_index(page_index_);
                args.SetPage_count(page_count_);
                args.SetQueryCondition(queryCondition_);

                SendBase(args, getRealtimeInventory_argsHelper.getInstance());
            }
 public void SetQueryCondition(com.vip.domain.inventory.RealtimeInventoryCondition value)
 {
     this.queryCondition_ = value;
 }
 public com.vip.domain.inventory.GetRealtimeInventoryResponse getRealtimeInventory(string vendor_id_, int?page_index_, int?page_count_, com.vip.domain.inventory.RealtimeInventoryCondition queryCondition_)
 {
     send_getRealtimeInventory(vendor_id_, page_index_, page_count_, queryCondition_);
     return(recv_getRealtimeInventory());
 }