public static QueryPageByApplyIdResponse Unmarshall(UnmarshallerContext context) { QueryPageByApplyIdResponse queryPageByApplyIdResponse = new QueryPageByApplyIdResponse(); queryPageByApplyIdResponse.HttpResponse = context.HttpResponse; queryPageByApplyIdResponse.RequestId = context.StringValue("QueryPageByApplyId.RequestId"); queryPageByApplyIdResponse.Success = context.BooleanValue("QueryPageByApplyId.Success"); queryPageByApplyIdResponse.ErrorMessage = context.StringValue("QueryPageByApplyId.ErrorMessage"); queryPageByApplyIdResponse.PageSize = context.IntegerValue("QueryPageByApplyId.PageSize"); queryPageByApplyIdResponse.Page = context.IntegerValue("QueryPageByApplyId.Page"); queryPageByApplyIdResponse.PageCount = context.IntegerValue("QueryPageByApplyId.PageCount"); queryPageByApplyIdResponse.Total = context.IntegerValue("QueryPageByApplyId.Total"); List<QueryPageByApplyIdResponse.ApplyDeviceInfo> applyDeviceList = new List<QueryPageByApplyIdResponse.ApplyDeviceInfo>(); for (int i = 0; i < context.Length("QueryPageByApplyId.ApplyDeviceList.Length"); i++) { QueryPageByApplyIdResponse.ApplyDeviceInfo applyDeviceInfo = new QueryPageByApplyIdResponse.ApplyDeviceInfo(); applyDeviceInfo.DeviceId = context.StringValue("QueryPageByApplyId.ApplyDeviceList["+ i +"].DeviceId"); applyDeviceInfo.DeviceName = context.StringValue("QueryPageByApplyId.ApplyDeviceList["+ i +"].DeviceName"); applyDeviceInfo.DeviceSecret = context.StringValue("QueryPageByApplyId.ApplyDeviceList["+ i +"].DeviceSecret"); applyDeviceList.Add(applyDeviceInfo); } queryPageByApplyIdResponse.ApplyDeviceList = applyDeviceList; return queryPageByApplyIdResponse; }