public void Read(GetOutShipContainerResultResponse 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.GetOutShipContainerResultBodyResponse value; value = new com.vip.sce.vlg.osp.wms.service.GetOutShipContainerResultBodyResponse(); com.vip.sce.vlg.osp.wms.service.GetOutShipContainerResultBodyResponseHelper.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.GetOutShipContainerResultBodyResponse value) { this.body_ = value; }