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

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


                    if ("header".Equals(schemeField.Trim()))
                    {
                        needSkip = false;
                        com.vipshop.cis.sdk.api.datain.si.response.ChannelResponseHeader value;

                        value = new com.vipshop.cis.sdk.api.datain.si.response.ChannelResponseHeader();
                        com.vipshop.cis.sdk.api.datain.si.response.ChannelResponseHeaderHelper.getInstance().Read(value, iprot);

                        structs.SetHeader(value);
                    }



                    if ("payload".Equals(schemeField.Trim()))
                    {
                        needSkip = false;
                        com.vipshop.cis.sdk.api.datain.si.response.SyncVrwIncrInvResponsePayload value;

                        value = new com.vipshop.cis.sdk.api.datain.si.response.SyncVrwIncrInvResponsePayload();
                        com.vipshop.cis.sdk.api.datain.si.response.SyncVrwIncrInvResponsePayloadHelper.getInstance().Read(value, iprot);

                        structs.SetPayload(value);
                    }



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

                    iprot.ReadFieldEnd();
                }

                iprot.ReadStructEnd();
                Validate(structs);
            }
            else
            {
                throw new OspException();
            }
        }
 public void SetHeader(com.vipshop.cis.sdk.api.datain.si.response.ChannelResponseHeader value)
 {
     this.header_ = value;
 }