public void Read(OspOutWmsPoGetHeaderResponse 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.vip.sce.vlg.osp.wms.service.GetHeader value; value = new com.vip.sce.vlg.osp.wms.service.GetHeader(); com.vip.sce.vlg.osp.wms.service.GetHeaderHelper.getInstance().Read(value, iprot); structs.SetHeader(value); } if ("body".Equals(schemeField.Trim())) { needSkip = false; com.vip.sce.vlg.osp.wms.service.OspOutWmsPoGetBodyResponse value; value = new com.vip.sce.vlg.osp.wms.service.OspOutWmsPoGetBodyResponse(); com.vip.sce.vlg.osp.wms.service.OspOutWmsPoGetBodyResponseHelper.getInstance().Read(value, iprot); structs.SetBody(value); } if (needSkip) { ProtocolUtil.skip(iprot); } iprot.ReadFieldEnd(); } iprot.ReadStructEnd(); Validate(structs); } else { throw new OspException(); } }
public void SetBody(com.vip.sce.vlg.osp.wms.service.OspOutWmsPoGetBodyResponse value) { this.body_ = value; }