public static DescribeHistoryCharge95InfoResponse Unmarshall(UnmarshallerContext context) { DescribeHistoryCharge95InfoResponse describeHistoryCharge95InfoResponse = new DescribeHistoryCharge95InfoResponse(); describeHistoryCharge95InfoResponse.HttpResponse = context.HttpResponse; describeHistoryCharge95InfoResponse.RequestId = context.StringValue("DescribeHistoryCharge95Info.RequestId"); describeHistoryCharge95InfoResponse.PageNumber = context.LongValue("DescribeHistoryCharge95Info.PageNumber"); describeHistoryCharge95InfoResponse.PageSize = context.LongValue("DescribeHistoryCharge95Info.PageSize"); describeHistoryCharge95InfoResponse.TotalCount = context.LongValue("DescribeHistoryCharge95Info.TotalCount"); describeHistoryCharge95InfoResponse.TotalPages = context.LongValue("DescribeHistoryCharge95Info.TotalPages"); describeHistoryCharge95InfoResponse.UserName = context.StringValue("DescribeHistoryCharge95Info.UserName"); List<DescribeHistoryCharge95InfoResponse.HistoryCharge95Info> historyCharge95Infos = new List<DescribeHistoryCharge95InfoResponse.HistoryCharge95Info>(); for (int i = 0; i < context.Length("DescribeHistoryCharge95Info.HistoryCharge95Infos.Length"); i++) { DescribeHistoryCharge95InfoResponse.HistoryCharge95Info historyCharge95Info = new DescribeHistoryCharge95InfoResponse.HistoryCharge95Info(); historyCharge95Info.DomainName = context.StringValue("DescribeHistoryCharge95Info.HistoryCharge95Infos["+ i +"].DomainName"); historyCharge95Info.BillTime = context.StringValue("DescribeHistoryCharge95Info.HistoryCharge95Infos["+ i +"].BillTime"); historyCharge95Info.ChargeItem = context.StringValue("DescribeHistoryCharge95Info.HistoryCharge95Infos["+ i +"].ChargeItem"); historyCharge95Info.Max95Bps = context.LongValue("DescribeHistoryCharge95Info.HistoryCharge95Infos["+ i +"].Max95Bps"); historyCharge95Info.Max95BpsTime = context.StringValue("DescribeHistoryCharge95Info.HistoryCharge95Infos["+ i +"].Max95BpsTime"); historyCharge95Info.EffectiveFactor = context.FloatValue("DescribeHistoryCharge95Info.HistoryCharge95Infos["+ i +"].EffectiveFactor"); historyCharge95Info.StartTime = context.StringValue("DescribeHistoryCharge95Info.HistoryCharge95Infos["+ i +"].StartTime"); historyCharge95Info.EndTime = context.StringValue("DescribeHistoryCharge95Info.HistoryCharge95Infos["+ i +"].EndTime"); historyCharge95Info.Proportion = context.FloatValue("DescribeHistoryCharge95Info.HistoryCharge95Infos["+ i +"].Proportion"); historyCharge95Info.DownloadUrl = context.StringValue("DescribeHistoryCharge95Info.HistoryCharge95Infos["+ i +"].DownloadUrl"); historyCharge95Infos.Add(historyCharge95Info); } describeHistoryCharge95InfoResponse.HistoryCharge95Infos = historyCharge95Infos; return describeHistoryCharge95InfoResponse; }
public static DescribeCurrentCharge95InfoResponse Unmarshall(UnmarshallerContext context) { DescribeCurrentCharge95InfoResponse describeCurrentCharge95InfoResponse = new DescribeCurrentCharge95InfoResponse(); describeCurrentCharge95InfoResponse.HttpResponse = context.HttpResponse; describeCurrentCharge95InfoResponse.RequestId = context.StringValue("DescribeCurrentCharge95Info.RequestId"); DescribeCurrentCharge95InfoResponse.CurrentCharge95Info_ currentCharge95Info = new DescribeCurrentCharge95InfoResponse.CurrentCharge95Info_(); currentCharge95Info.Max95Bps = context.LongValue("DescribeCurrentCharge95Info.CurrentCharge95Info.Max95Bps"); currentCharge95Info.DomesticMax95Bps = context.LongValue("DescribeCurrentCharge95Info.CurrentCharge95Info.DomesticMax95Bps"); currentCharge95Info.OverseasMax95Bps = context.LongValue("DescribeCurrentCharge95Info.CurrentCharge95Info.OverseasMax95Bps"); currentCharge95Info.EffectiveFactor = context.FloatValue("DescribeCurrentCharge95Info.CurrentCharge95Info.EffectiveFactor"); currentCharge95Info.Cost = context.FloatValue("DescribeCurrentCharge95Info.CurrentCharge95Info.Cost"); currentCharge95Info.UserName = context.StringValue("DescribeCurrentCharge95Info.CurrentCharge95Info.UserName"); describeCurrentCharge95InfoResponse.CurrentCharge95Info = currentCharge95Info; return describeCurrentCharge95InfoResponse; }
public static ImagePornDetectionResponse Unmarshall(UnmarshallerContext context) { ImagePornDetectionResponse imagePornDetectionResponse = new ImagePornDetectionResponse(); imagePornDetectionResponse.HttpResponse = context.HttpResponse; imagePornDetectionResponse.RequestId = context.StringValue("ImagePornDetection.RequestId"); imagePornDetectionResponse.Label = context.StringValue("ImagePornDetection.Label"); imagePornDetectionResponse.Rate = context.FloatValue("ImagePornDetection.Rate"); return imagePornDetectionResponse; }
public static DescribeLiveStreamsFrameRateAndBitRateDataResponse Unmarshall(UnmarshallerContext context) { DescribeLiveStreamsFrameRateAndBitRateDataResponse describeLiveStreamsFrameRateAndBitRateDataResponse = new DescribeLiveStreamsFrameRateAndBitRateDataResponse(); describeLiveStreamsFrameRateAndBitRateDataResponse.HttpResponse = context.HttpResponse; describeLiveStreamsFrameRateAndBitRateDataResponse.RequestId = context.StringValue("DescribeLiveStreamsFrameRateAndBitRateData.RequestId"); List<DescribeLiveStreamsFrameRateAndBitRateDataResponse.FrameRateAndBitRateInfo> frameRateAndBitRateInfos = new List<DescribeLiveStreamsFrameRateAndBitRateDataResponse.FrameRateAndBitRateInfo>(); for (int i = 0; i < context.Length("DescribeLiveStreamsFrameRateAndBitRateData.FrameRateAndBitRateInfos.Length"); i++) { DescribeLiveStreamsFrameRateAndBitRateDataResponse.FrameRateAndBitRateInfo frameRateAndBitRateInfo = new DescribeLiveStreamsFrameRateAndBitRateDataResponse.FrameRateAndBitRateInfo(); frameRateAndBitRateInfo.StreamUrl = context.StringValue("DescribeLiveStreamsFrameRateAndBitRateData.FrameRateAndBitRateInfos["+ i +"].StreamUrl"); frameRateAndBitRateInfo.VideoFrameRate = context.FloatValue("DescribeLiveStreamsFrameRateAndBitRateData.FrameRateAndBitRateInfos["+ i +"].VideoFrameRate"); frameRateAndBitRateInfo.AudioFrameRate = context.FloatValue("DescribeLiveStreamsFrameRateAndBitRateData.FrameRateAndBitRateInfos["+ i +"].AudioFrameRate"); frameRateAndBitRateInfo.BitRate = context.FloatValue("DescribeLiveStreamsFrameRateAndBitRateData.FrameRateAndBitRateInfos["+ i +"].BitRate"); frameRateAndBitRateInfos.Add(frameRateAndBitRateInfo); } describeLiveStreamsFrameRateAndBitRateDataResponse.FrameRateAndBitRateInfos = frameRateAndBitRateInfos; return describeLiveStreamsFrameRateAndBitRateDataResponse; }
public static DescribeSyncReportDetailResponse Unmarshall(UnmarshallerContext _ctx) { DescribeSyncReportDetailResponse describeSyncReportDetailResponse = new DescribeSyncReportDetailResponse(); describeSyncReportDetailResponse.HttpResponse = _ctx.HttpResponse; describeSyncReportDetailResponse.Code = _ctx.StringValue("DescribeSyncReportDetail.code"); describeSyncReportDetailResponse.Message = _ctx.StringValue("DescribeSyncReportDetail.message"); describeSyncReportDetailResponse.RequestId = _ctx.StringValue("DescribeSyncReportDetail.requestId"); List <DescribeSyncReportDetailResponse.DescribeSyncReportDetail_ResultItem> describeSyncReportDetailResponse_result = new List <DescribeSyncReportDetailResponse.DescribeSyncReportDetail_ResultItem>(); for (int i = 0; i < _ctx.Length("DescribeSyncReportDetail.Result.Length"); i++) { DescribeSyncReportDetailResponse.DescribeSyncReportDetail_ResultItem resultItem = new DescribeSyncReportDetailResponse.DescribeSyncReportDetail_ResultItem(); resultItem.DefaultDisplay = _ctx.BooleanValue("DescribeSyncReportDetail.Result[" + i + "].defaultDisplay"); resultItem.ErrorCount = _ctx.IntegerValue("DescribeSyncReportDetail.Result[" + i + "].errorCount"); resultItem.ErrorPercent = _ctx.FloatValue("DescribeSyncReportDetail.Result[" + i + "].errorPercent"); resultItem.SampleDisplay = _ctx.BooleanValue("DescribeSyncReportDetail.Result[" + i + "].sampleDisplay"); resultItem.Type = _ctx.StringValue("DescribeSyncReportDetail.Result[" + i + "].type"); List <DescribeSyncReportDetailResponse.DescribeSyncReportDetail_ResultItem.DescribeSyncReportDetail_HistoryDataItem> resultItem_historyData = new List <DescribeSyncReportDetailResponse.DescribeSyncReportDetail_ResultItem.DescribeSyncReportDetail_HistoryDataItem>(); for (int j = 0; j < _ctx.Length("DescribeSyncReportDetail.Result[" + i + "].HistoryData.Length"); j++) { DescribeSyncReportDetailResponse.DescribeSyncReportDetail_ResultItem.DescribeSyncReportDetail_HistoryDataItem historyDataItem = new DescribeSyncReportDetailResponse.DescribeSyncReportDetail_ResultItem.DescribeSyncReportDetail_HistoryDataItem(); historyDataItem.EndTime = _ctx.LongValue("DescribeSyncReportDetail.Result[" + i + "].HistoryData[" + j + "].endTime"); historyDataItem.ErrorPercent = _ctx.FloatValue("DescribeSyncReportDetail.Result[" + i + "].HistoryData[" + j + "].errorPercent"); historyDataItem.StartTime = _ctx.LongValue("DescribeSyncReportDetail.Result[" + i + "].HistoryData[" + j + "].startTime"); resultItem_historyData.Add(historyDataItem); } resultItem.HistoryData = resultItem_historyData; describeSyncReportDetailResponse_result.Add(resultItem); } describeSyncReportDetailResponse.Result = describeSyncReportDetailResponse_result; return(describeSyncReportDetailResponse); }
public static GetCameraStatisticResponse Unmarshall(UnmarshallerContext context) { GetCameraStatisticResponse getCameraStatisticResponse = new GetCameraStatisticResponse(); getCameraStatisticResponse.HttpResponse = context.HttpResponse; getCameraStatisticResponse.RequestId = context.StringValue("GetCameraStatistic.RequestId"); getCameraStatisticResponse.ErrorMsg = context.StringValue("GetCameraStatistic.ErrorMsg"); getCameraStatisticResponse.Success = context.BooleanValue("GetCameraStatistic.Success"); List <GetCameraStatisticResponse.GetCameraStatistic_PvStatisticResult> getCameraStatisticResponse_pvStatisticResults = new List <GetCameraStatisticResponse.GetCameraStatistic_PvStatisticResult>(); for (int i = 0; i < context.Length("GetCameraStatistic.PvStatisticResults.Length"); i++) { GetCameraStatisticResponse.GetCameraStatistic_PvStatisticResult pvStatisticResult = new GetCameraStatisticResponse.GetCameraStatistic_PvStatisticResult(); pvStatisticResult.ProcessCursor = context.LongValue("GetCameraStatistic.PvStatisticResults[" + i + "].ProcessCursor"); pvStatisticResult.IpcId = context.LongValue("GetCameraStatistic.PvStatisticResults[" + i + "].IpcId"); pvStatisticResult.LocationId = context.LongValue("GetCameraStatistic.PvStatisticResults[" + i + "].LocationId"); pvStatisticResult.PvCount = context.LongValue("GetCameraStatistic.PvStatisticResults[" + i + "].PvCount"); List <GetCameraStatisticResponse.GetCameraStatistic_PvStatisticResult.GetCameraStatistic_Rect> pvStatisticResult_pvRects = new List <GetCameraStatisticResponse.GetCameraStatistic_PvStatisticResult.GetCameraStatistic_Rect>(); for (int j = 0; j < context.Length("GetCameraStatistic.PvStatisticResults[" + i + "].PvRects.Length"); j++) { GetCameraStatisticResponse.GetCameraStatistic_PvStatisticResult.GetCameraStatistic_Rect rect = new GetCameraStatisticResponse.GetCameraStatistic_PvStatisticResult.GetCameraStatistic_Rect(); rect.Right = context.FloatValue("GetCameraStatistic.PvStatisticResults[" + i + "].PvRects[" + j + "].Right"); rect.Bottom = context.FloatValue("GetCameraStatistic.PvStatisticResults[" + i + "].PvRects[" + j + "].Bottom"); rect.Top = context.FloatValue("GetCameraStatistic.PvStatisticResults[" + i + "].PvRects[" + j + "].Top"); rect.Left = context.FloatValue("GetCameraStatistic.PvStatisticResults[" + i + "].PvRects[" + j + "].Left"); pvStatisticResult_pvRects.Add(rect); } pvStatisticResult.PvRects = pvStatisticResult_pvRects; getCameraStatisticResponse_pvStatisticResults.Add(pvStatisticResult); } getCameraStatisticResponse.PvStatisticResults = getCameraStatisticResponse_pvStatisticResults; return(getCameraStatisticResponse); }
public static GetCompanyRegOrderResponse Unmarshall(UnmarshallerContext context) { GetCompanyRegOrderResponse getCompanyRegOrderResponse = new GetCompanyRegOrderResponse(); getCompanyRegOrderResponse.HttpResponse = context.HttpResponse; getCompanyRegOrderResponse.RequestId = context.StringValue("GetCompanyRegOrder.RequestId"); getCompanyRegOrderResponse.BizId = context.StringValue("GetCompanyRegOrder.BizId"); getCompanyRegOrderResponse.CompanyName = context.StringValue("GetCompanyRegOrder.CompanyName"); getCompanyRegOrderResponse.BizStatus = context.StringValue("GetCompanyRegOrder.BizStatus"); getCompanyRegOrderResponse.BizInfo = context.StringValue("GetCompanyRegOrder.BizInfo"); getCompanyRegOrderResponse.SupplementBizInfo = context.StringValue("GetCompanyRegOrder.SupplementBizInfo"); getCompanyRegOrderResponse.AliyunOrderId = context.StringValue("GetCompanyRegOrder.AliyunOrderId"); getCompanyRegOrderResponse.GmtModified = context.LongValue("GetCompanyRegOrder.GmtModified"); getCompanyRegOrderResponse.OrderAmount = context.FloatValue("GetCompanyRegOrder.OrderAmount"); getCompanyRegOrderResponse.YunMarketOrderAmount = context.FloatValue("GetCompanyRegOrder.YunMarketOrderAmount"); getCompanyRegOrderResponse.GmtPaid = context.LongValue("GetCompanyRegOrder.GmtPaid"); getCompanyRegOrderResponse.Extend = context.StringValue("GetCompanyRegOrder.Extend"); getCompanyRegOrderResponse.BizStatusStage = context.StringValue("GetCompanyRegOrder.BizStatusStage"); getCompanyRegOrderResponse.PlatformName = context.StringValue("GetCompanyRegOrder.PlatformName"); getCompanyRegOrderResponse.InboundPhone = context.StringValue("GetCompanyRegOrder.InboundPhone"); getCompanyRegOrderResponse.OutboundPhone = context.StringValue("GetCompanyRegOrder.OutboundPhone"); getCompanyRegOrderResponse.BizSubCode = context.StringValue("GetCompanyRegOrder.BizSubCode"); List <GetCompanyRegOrderResponse.GetCompanyRegOrder_BizOperation> getCompanyRegOrderResponse_operations = new List <GetCompanyRegOrderResponse.GetCompanyRegOrder_BizOperation>(); for (int i = 0; i < context.Length("GetCompanyRegOrder.Operations.Length"); i++) { GetCompanyRegOrderResponse.GetCompanyRegOrder_BizOperation bizOperation = new GetCompanyRegOrderResponse.GetCompanyRegOrder_BizOperation(); bizOperation.GmtAction = context.LongValue("GetCompanyRegOrder.Operations[" + i + "].GmtAction"); bizOperation.ActionType = context.StringValue("GetCompanyRegOrder.Operations[" + i + "].ActionType"); bizOperation.ActionInfo = context.StringValue("GetCompanyRegOrder.Operations[" + i + "].ActionInfo"); getCompanyRegOrderResponse_operations.Add(bizOperation); } getCompanyRegOrderResponse.Operations = getCompanyRegOrderResponse_operations; return(getCompanyRegOrderResponse); }
public static SearchFaceResponse Unmarshall(UnmarshallerContext context) { SearchFaceResponse searchFaceResponse = new SearchFaceResponse(); searchFaceResponse.HttpResponse = context.HttpResponse; searchFaceResponse.Code = context.StringValue("SearchFace.Code"); searchFaceResponse.Message = context.StringValue("SearchFace.Message"); searchFaceResponse.RequestId = context.StringValue("SearchFace.RequestId"); SearchFaceResponse.SearchFace_Data data = new SearchFaceResponse.SearchFace_Data(); data.PageNo = context.IntegerValue("SearchFace.Data.PageNo"); data.PageSize = context.IntegerValue("SearchFace.Data.PageSize"); data.TotalCount = context.IntegerValue("SearchFace.Data.TotalCount"); data.TotalPage = context.IntegerValue("SearchFace.Data.TotalPage"); List <SearchFaceResponse.SearchFace_Data.SearchFace_Record> data_records = new List <SearchFaceResponse.SearchFace_Data.SearchFace_Record>(); for (int i = 0; i < context.Length("SearchFace.Data.Records.Length"); i++) { SearchFaceResponse.SearchFace_Data.SearchFace_Record record = new SearchFaceResponse.SearchFace_Data.SearchFace_Record(); record.GbId = context.StringValue("SearchFace.Data.Records[" + i + "].GbId"); record.ImageUrl = context.StringValue("SearchFace.Data.Records[" + i + "].ImageUrl"); record.LeftTopX = context.FloatValue("SearchFace.Data.Records[" + i + "].LeftTopX"); record.LeftTopY = context.FloatValue("SearchFace.Data.Records[" + i + "].LeftTopY"); record.MatchSuggestion = context.StringValue("SearchFace.Data.Records[" + i + "].MatchSuggestion"); record.RightBottomX = context.FloatValue("SearchFace.Data.Records[" + i + "].RightBottomX"); record.RightBottomY = context.FloatValue("SearchFace.Data.Records[" + i + "].RightBottomY"); record.Score = context.FloatValue("SearchFace.Data.Records[" + i + "].Score"); record.TargetImageUrl = context.StringValue("SearchFace.Data.Records[" + i + "].TargetImageUrl"); record.SourceId = context.StringValue("SearchFace.Data.Records[" + i + "].SourceId"); data_records.Add(record); } data.Records = data_records; searchFaceResponse.Data = data; return(searchFaceResponse); }
public static HighlightGameVideoResponse Unmarshall(UnmarshallerContext context) { HighlightGameVideoResponse highlightGameVideoResponse = new HighlightGameVideoResponse(); highlightGameVideoResponse.HttpResponse = context.HttpResponse; highlightGameVideoResponse.RequestId = context.StringValue("HighlightGameVideo.RequestId"); HighlightGameVideoResponse.HighlightGameVideo_Data data = new HighlightGameVideoResponse.HighlightGameVideo_Data(); List <HighlightGameVideoResponse.HighlightGameVideo_Data.HighlightGameVideo_GameListItem> data_gameList = new List <HighlightGameVideoResponse.HighlightGameVideo_Data.HighlightGameVideo_GameListItem>(); for (int i = 0; i < context.Length("HighlightGameVideo.Data.GameList.Length"); i++) { HighlightGameVideoResponse.HighlightGameVideo_Data.HighlightGameVideo_GameListItem gameListItem = new HighlightGameVideoResponse.HighlightGameVideo_Data.HighlightGameVideo_GameListItem(); gameListItem.Id = context.StringValue("HighlightGameVideo.Data.GameList[" + i + "].Id"); gameListItem.End = context.FloatValue("HighlightGameVideo.Data.GameList[" + i + "].End"); gameListItem.Start = context.FloatValue("HighlightGameVideo.Data.GameList[" + i + "].Start"); gameListItem.GameInfo = context.StringValue("HighlightGameVideo.Data.GameList[" + i + "].GameInfo"); data_gameList.Add(gameListItem); } data.GameList = data_gameList; List <HighlightGameVideoResponse.HighlightGameVideo_Data.HighlightGameVideo_HighlightListItem> data_highlightList = new List <HighlightGameVideoResponse.HighlightGameVideo_Data.HighlightGameVideo_HighlightListItem>(); for (int i = 0; i < context.Length("HighlightGameVideo.Data.HighlightList.Length"); i++) { HighlightGameVideoResponse.HighlightGameVideo_Data.HighlightGameVideo_HighlightListItem highlightListItem = new HighlightGameVideoResponse.HighlightGameVideo_Data.HighlightGameVideo_HighlightListItem(); highlightListItem.Start = context.FloatValue("HighlightGameVideo.Data.HighlightList[" + i + "].Start"); highlightListItem.End = context.FloatValue("HighlightGameVideo.Data.HighlightList[" + i + "].End"); data_highlightList.Add(highlightListItem); } data.HighlightList = data_highlightList; highlightGameVideoResponse.Data = data; return(highlightGameVideoResponse); }
public static RecognizeBusinessLicenseResponse Unmarshall(UnmarshallerContext _ctx) { RecognizeBusinessLicenseResponse recognizeBusinessLicenseResponse = new RecognizeBusinessLicenseResponse(); recognizeBusinessLicenseResponse.HttpResponse = _ctx.HttpResponse; recognizeBusinessLicenseResponse.RequestId = _ctx.StringValue("RecognizeBusinessLicense.RequestId"); RecognizeBusinessLicenseResponse.RecognizeBusinessLicense_Data data = new RecognizeBusinessLicenseResponse.RecognizeBusinessLicense_Data(); data.Angle = _ctx.FloatValue("RecognizeBusinessLicense.Data.Angle"); data.RegisterNumber = _ctx.StringValue("RecognizeBusinessLicense.Data.RegisterNumber"); data.Name = _ctx.StringValue("RecognizeBusinessLicense.Data.Name"); data.Type = _ctx.StringValue("RecognizeBusinessLicense.Data.Type"); data.LegalPerson = _ctx.StringValue("RecognizeBusinessLicense.Data.LegalPerson"); data.EstablishDate = _ctx.StringValue("RecognizeBusinessLicense.Data.EstablishDate"); data.ValidPeriod = _ctx.StringValue("RecognizeBusinessLicense.Data.ValidPeriod"); data.Address = _ctx.StringValue("RecognizeBusinessLicense.Data.Address"); data.Capital = _ctx.StringValue("RecognizeBusinessLicense.Data.Capital"); data.Business = _ctx.StringValue("RecognizeBusinessLicense.Data.Business"); RecognizeBusinessLicenseResponse.RecognizeBusinessLicense_Data.RecognizeBusinessLicense_Emblem emblem = new RecognizeBusinessLicenseResponse.RecognizeBusinessLicense_Data.RecognizeBusinessLicense_Emblem(); emblem.Top = _ctx.IntegerValue("RecognizeBusinessLicense.Data.Emblem.Top"); emblem.Left = _ctx.IntegerValue("RecognizeBusinessLicense.Data.Emblem.Left"); emblem.Height = _ctx.IntegerValue("RecognizeBusinessLicense.Data.Emblem.Height"); emblem.Width = _ctx.IntegerValue("RecognizeBusinessLicense.Data.Emblem.Width"); data.Emblem = emblem; RecognizeBusinessLicenseResponse.RecognizeBusinessLicense_Data.RecognizeBusinessLicense_Title title = new RecognizeBusinessLicenseResponse.RecognizeBusinessLicense_Data.RecognizeBusinessLicense_Title(); title.Top = _ctx.IntegerValue("RecognizeBusinessLicense.Data.Title.Top"); title.Left = _ctx.IntegerValue("RecognizeBusinessLicense.Data.Title.Left"); title.Height = _ctx.IntegerValue("RecognizeBusinessLicense.Data.Title.Height"); title.Width = _ctx.IntegerValue("RecognizeBusinessLicense.Data.Title.Width"); data.Title = title; RecognizeBusinessLicenseResponse.RecognizeBusinessLicense_Data.RecognizeBusinessLicense_Stamp stamp = new RecognizeBusinessLicenseResponse.RecognizeBusinessLicense_Data.RecognizeBusinessLicense_Stamp(); stamp.Top = _ctx.IntegerValue("RecognizeBusinessLicense.Data.Stamp.Top"); stamp.Left = _ctx.IntegerValue("RecognizeBusinessLicense.Data.Stamp.Left"); stamp.Height = _ctx.IntegerValue("RecognizeBusinessLicense.Data.Stamp.Height"); stamp.Width = _ctx.IntegerValue("RecognizeBusinessLicense.Data.Stamp.Width"); data.Stamp = stamp; RecognizeBusinessLicenseResponse.RecognizeBusinessLicense_Data.RecognizeBusinessLicense_QRCode qRCode = new RecognizeBusinessLicenseResponse.RecognizeBusinessLicense_Data.RecognizeBusinessLicense_QRCode(); qRCode.Top = _ctx.IntegerValue("RecognizeBusinessLicense.Data.QRCode.Top"); qRCode.Left = _ctx.IntegerValue("RecognizeBusinessLicense.Data.QRCode.Left"); qRCode.Height = _ctx.IntegerValue("RecognizeBusinessLicense.Data.QRCode.Height"); qRCode.Width = _ctx.IntegerValue("RecognizeBusinessLicense.Data.QRCode.Width"); data.QRCode = qRCode; recognizeBusinessLicenseResponse.Data = data; return(recognizeBusinessLicenseResponse); }
public static DetectCardScreenshotResponse Unmarshall(UnmarshallerContext _ctx) { DetectCardScreenshotResponse detectCardScreenshotResponse = new DetectCardScreenshotResponse(); detectCardScreenshotResponse.HttpResponse = _ctx.HttpResponse; detectCardScreenshotResponse.RequestId = _ctx.StringValue("DetectCardScreenshot.RequestId"); DetectCardScreenshotResponse.DetectCardScreenshot_Data data = new DetectCardScreenshotResponse.DetectCardScreenshot_Data(); data.IsCard = _ctx.BooleanValue("DetectCardScreenshot.Data.IsCard"); data.IsBlur = _ctx.BooleanValue("DetectCardScreenshot.Data.IsBlur"); DetectCardScreenshotResponse.DetectCardScreenshot_Data.DetectCardScreenshot_SpoofResult spoofResult = new DetectCardScreenshotResponse.DetectCardScreenshot_Data.DetectCardScreenshot_SpoofResult(); spoofResult.IsSpoof = _ctx.BooleanValue("DetectCardScreenshot.Data.SpoofResult.IsSpoof"); DetectCardScreenshotResponse.DetectCardScreenshot_Data.DetectCardScreenshot_SpoofResult.DetectCardScreenshot_ResultMap resultMap = new DetectCardScreenshotResponse.DetectCardScreenshot_Data.DetectCardScreenshot_SpoofResult.DetectCardScreenshot_ResultMap(); resultMap.ScreenScore = _ctx.FloatValue("DetectCardScreenshot.Data.SpoofResult.ResultMap.ScreenScore"); resultMap.ScreenThreshold = _ctx.FloatValue("DetectCardScreenshot.Data.SpoofResult.ResultMap.ScreenThreshold"); spoofResult.ResultMap = resultMap; data.SpoofResult = spoofResult; detectCardScreenshotResponse.Data = data; return(detectCardScreenshotResponse); }
public static DescribeLiveDomainFrameRateAndBitRateDataResponse Unmarshall(UnmarshallerContext _ctx) { DescribeLiveDomainFrameRateAndBitRateDataResponse describeLiveDomainFrameRateAndBitRateDataResponse = new DescribeLiveDomainFrameRateAndBitRateDataResponse(); describeLiveDomainFrameRateAndBitRateDataResponse.HttpResponse = _ctx.HttpResponse; describeLiveDomainFrameRateAndBitRateDataResponse.RequestId = _ctx.StringValue("DescribeLiveDomainFrameRateAndBitRateData.RequestId"); List <DescribeLiveDomainFrameRateAndBitRateDataResponse.DescribeLiveDomainFrameRateAndBitRateData_FrameRateAndBitRateInfo> describeLiveDomainFrameRateAndBitRateDataResponse_frameRateAndBitRateInfos = new List <DescribeLiveDomainFrameRateAndBitRateDataResponse.DescribeLiveDomainFrameRateAndBitRateData_FrameRateAndBitRateInfo>(); for (int i = 0; i < _ctx.Length("DescribeLiveDomainFrameRateAndBitRateData.FrameRateAndBitRateInfos.Length"); i++) { DescribeLiveDomainFrameRateAndBitRateDataResponse.DescribeLiveDomainFrameRateAndBitRateData_FrameRateAndBitRateInfo frameRateAndBitRateInfo = new DescribeLiveDomainFrameRateAndBitRateDataResponse.DescribeLiveDomainFrameRateAndBitRateData_FrameRateAndBitRateInfo(); frameRateAndBitRateInfo.AudioFrameRate = _ctx.FloatValue("DescribeLiveDomainFrameRateAndBitRateData.FrameRateAndBitRateInfos[" + i + "].AudioFrameRate"); frameRateAndBitRateInfo.BitRate = _ctx.FloatValue("DescribeLiveDomainFrameRateAndBitRateData.FrameRateAndBitRateInfos[" + i + "].BitRate"); frameRateAndBitRateInfo.VideoFrameRate = _ctx.FloatValue("DescribeLiveDomainFrameRateAndBitRateData.FrameRateAndBitRateInfos[" + i + "].VideoFrameRate"); frameRateAndBitRateInfo.StreamUrl = _ctx.StringValue("DescribeLiveDomainFrameRateAndBitRateData.FrameRateAndBitRateInfos[" + i + "].StreamUrl"); describeLiveDomainFrameRateAndBitRateDataResponse_frameRateAndBitRateInfos.Add(frameRateAndBitRateInfo); } describeLiveDomainFrameRateAndBitRateDataResponse.FrameRateAndBitRateInfos = describeLiveDomainFrameRateAndBitRateDataResponse_frameRateAndBitRateInfos; return(describeLiveDomainFrameRateAndBitRateDataResponse); }
public static DescribeCasterConfigResponse Unmarshall(UnmarshallerContext _ctx) { DescribeCasterConfigResponse describeCasterConfigResponse = new DescribeCasterConfigResponse(); describeCasterConfigResponse.HttpResponse = _ctx.HttpResponse; describeCasterConfigResponse.RequestId = _ctx.StringValue("DescribeCasterConfig.RequestId"); describeCasterConfigResponse.CasterId = _ctx.StringValue("DescribeCasterConfig.CasterId"); describeCasterConfigResponse.CasterName = _ctx.StringValue("DescribeCasterConfig.CasterName"); describeCasterConfigResponse.DomainName = _ctx.StringValue("DescribeCasterConfig.DomainName"); describeCasterConfigResponse.Delay = _ctx.FloatValue("DescribeCasterConfig.Delay"); describeCasterConfigResponse.UrgentMaterialId = _ctx.StringValue("DescribeCasterConfig.UrgentMaterialId"); describeCasterConfigResponse.SideOutputUrl = _ctx.StringValue("DescribeCasterConfig.SideOutputUrl"); describeCasterConfigResponse.CallbackUrl = _ctx.StringValue("DescribeCasterConfig.CallbackUrl"); describeCasterConfigResponse.ProgramName = _ctx.StringValue("DescribeCasterConfig.ProgramName"); describeCasterConfigResponse.ProgramEffect = _ctx.IntegerValue("DescribeCasterConfig.ProgramEffect"); describeCasterConfigResponse.ChannelEnable = _ctx.IntegerValue("DescribeCasterConfig.ChannelEnable"); DescribeCasterConfigResponse.DescribeCasterConfig_TranscodeConfig transcodeConfig = new DescribeCasterConfigResponse.DescribeCasterConfig_TranscodeConfig(); transcodeConfig.CasterTemplate = _ctx.StringValue("DescribeCasterConfig.TranscodeConfig.CasterTemplate"); List <string> transcodeConfig_liveTemplateIds = new List <string>(); for (int i = 0; i < _ctx.Length("DescribeCasterConfig.TranscodeConfig.LiveTemplateIds.Length"); i++) { transcodeConfig_liveTemplateIds.Add(_ctx.StringValue("DescribeCasterConfig.TranscodeConfig.LiveTemplateIds[" + i + "]")); } transcodeConfig.LiveTemplateIds = transcodeConfig_liveTemplateIds; describeCasterConfigResponse.TranscodeConfig = transcodeConfig; DescribeCasterConfigResponse.DescribeCasterConfig_RecordConfig recordConfig = new DescribeCasterConfigResponse.DescribeCasterConfig_RecordConfig(); recordConfig.OssEndpoint = _ctx.StringValue("DescribeCasterConfig.RecordConfig.OssEndpoint"); recordConfig.OssBucket = _ctx.StringValue("DescribeCasterConfig.RecordConfig.OssBucket"); List <DescribeCasterConfigResponse.DescribeCasterConfig_RecordConfig.DescribeCasterConfig_RecordFormatItem> recordConfig_recordFormat = new List <DescribeCasterConfigResponse.DescribeCasterConfig_RecordConfig.DescribeCasterConfig_RecordFormatItem>(); for (int i = 0; i < _ctx.Length("DescribeCasterConfig.RecordConfig.RecordFormat.Length"); i++) { DescribeCasterConfigResponse.DescribeCasterConfig_RecordConfig.DescribeCasterConfig_RecordFormatItem recordFormatItem = new DescribeCasterConfigResponse.DescribeCasterConfig_RecordConfig.DescribeCasterConfig_RecordFormatItem(); recordFormatItem.Format = _ctx.StringValue("DescribeCasterConfig.RecordConfig.RecordFormat[" + i + "].Format"); recordFormatItem.OssObjectPrefix = _ctx.StringValue("DescribeCasterConfig.RecordConfig.RecordFormat[" + i + "].OssObjectPrefix"); recordFormatItem.SliceOssObjectPrefix = _ctx.StringValue("DescribeCasterConfig.RecordConfig.RecordFormat[" + i + "].SliceOssObjectPrefix"); recordFormatItem.CycleDuration = _ctx.IntegerValue("DescribeCasterConfig.RecordConfig.RecordFormat[" + i + "].CycleDuration"); recordConfig_recordFormat.Add(recordFormatItem); } recordConfig.RecordFormat = recordConfig_recordFormat; describeCasterConfigResponse.RecordConfig = recordConfig; return(describeCasterConfigResponse); }
public static GetImageQualityResponse Unmarshall(UnmarshallerContext context) { GetImageQualityResponse getImageQualityResponse = new GetImageQualityResponse(); getImageQualityResponse.HttpResponse = context.HttpResponse; getImageQualityResponse.RequestId = context.StringValue("GetImageQuality.RequestId"); getImageQualityResponse.ImageUri = context.StringValue("GetImageQuality.ImageUri"); GetImageQualityResponse.GetImageQuality_ImageQuality imageQuality = new GetImageQualityResponse.GetImageQuality_ImageQuality(); imageQuality.OverallScore = context.FloatValue("GetImageQuality.ImageQuality.OverallScore"); imageQuality.ClarityScore = context.FloatValue("GetImageQuality.ImageQuality.ClarityScore"); imageQuality.Clarity = context.FloatValue("GetImageQuality.ImageQuality.Clarity"); imageQuality.ExposureScore = context.FloatValue("GetImageQuality.ImageQuality.ExposureScore"); imageQuality.Exposure = context.FloatValue("GetImageQuality.ImageQuality.Exposure"); imageQuality.ContrastScore = context.FloatValue("GetImageQuality.ImageQuality.ContrastScore"); imageQuality.Contrast = context.FloatValue("GetImageQuality.ImageQuality.Contrast"); imageQuality.ColorScore = context.FloatValue("GetImageQuality.ImageQuality.ColorScore"); imageQuality.Color = context.FloatValue("GetImageQuality.ImageQuality.Color"); imageQuality.CompositionScore = context.FloatValue("GetImageQuality.ImageQuality.CompositionScore"); getImageQualityResponse.ImageQuality = imageQuality; return(getImageQualityResponse); }
public static GetEMapResponse Unmarshall(UnmarshallerContext context) { GetEMapResponse getEMapResponse = new GetEMapResponse(); getEMapResponse.HttpResponse = context.HttpResponse; getEMapResponse.StoreId = context.LongValue("GetEMap.StoreId"); getEMapResponse.Name = context.StringValue("GetEMap.Name"); getEMapResponse.Scale = context.FloatValue("GetEMap.Scale"); getEMapResponse.LocationId = context.LongValue("GetEMap.LocationId"); getEMapResponse.EMapId = context.LongValue("GetEMap.EMapId"); getEMapResponse.ImageUrl = context.StringValue("GetEMap.ImageUrl"); return(getEMapResponse); }
public static SubmitVerificationResponse Unmarshall(UnmarshallerContext _ctx) { SubmitVerificationResponse submitVerificationResponse = new SubmitVerificationResponse(); submitVerificationResponse.HttpResponse = _ctx.HttpResponse; submitVerificationResponse.RequestId = _ctx.StringValue("SubmitVerification.RequestId"); submitVerificationResponse.Success = _ctx.BooleanValue("SubmitVerification.Success"); submitVerificationResponse.Code = _ctx.StringValue("SubmitVerification.Code"); submitVerificationResponse.Message = _ctx.StringValue("SubmitVerification.Message"); SubmitVerificationResponse.SubmitVerification_Data data = new SubmitVerificationResponse.SubmitVerification_Data(); SubmitVerificationResponse.SubmitVerification_Data.SubmitVerification_VerifyStatus verifyStatus = new SubmitVerificationResponse.SubmitVerification_Data.SubmitVerification_VerifyStatus(); verifyStatus.StatusCode = _ctx.IntegerValue("SubmitVerification.Data.VerifyStatus.StatusCode"); verifyStatus.TrustedScore = _ctx.FloatValue("SubmitVerification.Data.VerifyStatus.TrustedScore"); verifyStatus.SimilarityScore = _ctx.FloatValue("SubmitVerification.Data.VerifyStatus.SimilarityScore"); verifyStatus.AuditConclusions = _ctx.StringValue("SubmitVerification.Data.VerifyStatus.AuditConclusions"); verifyStatus.AuthorityComparisonScore = _ctx.FloatValue("SubmitVerification.Data.VerifyStatus.AuthorityComparisonScore"); data.VerifyStatus = verifyStatus; submitVerificationResponse.Data = data; return(submitVerificationResponse); }
public static SubmitMaterialsResponse Unmarshall(UnmarshallerContext context) { SubmitMaterialsResponse submitMaterialsResponse = new SubmitMaterialsResponse(); submitMaterialsResponse.HttpResponse = context.HttpResponse; submitMaterialsResponse.RequestId = context.StringValue("SubmitMaterials.RequestId"); submitMaterialsResponse.Success = context.BooleanValue("SubmitMaterials.Success"); submitMaterialsResponse.Code = context.StringValue("SubmitMaterials.Code"); submitMaterialsResponse.Message = context.StringValue("SubmitMaterials.Message"); SubmitMaterialsResponse.SubmitMaterials_Data data = new SubmitMaterialsResponse.SubmitMaterials_Data(); SubmitMaterialsResponse.SubmitMaterials_Data.SubmitMaterials_VerifyStatus verifyStatus = new SubmitMaterialsResponse.SubmitMaterials_Data.SubmitMaterials_VerifyStatus(); verifyStatus.StatusCode = context.IntegerValue("SubmitMaterials.Data.VerifyStatus.StatusCode"); verifyStatus.TrustedScore = context.FloatValue("SubmitMaterials.Data.VerifyStatus.TrustedScore"); verifyStatus.SimilarityScore = context.FloatValue("SubmitMaterials.Data.VerifyStatus.SimilarityScore"); verifyStatus.AuditConclusions = context.StringValue("SubmitMaterials.Data.VerifyStatus.AuditConclusions"); verifyStatus.AuthorityComparisonScore = context.FloatValue("SubmitMaterials.Data.VerifyStatus.AuthorityComparisonScore"); data.VerifyStatus = verifyStatus; submitMaterialsResponse.Data = data; return(submitMaterialsResponse); }
public static DetectMaskResponse Unmarshall(UnmarshallerContext _ctx) { DetectMaskResponse detectMaskResponse = new DetectMaskResponse(); detectMaskResponse.HttpResponse = _ctx.HttpResponse; detectMaskResponse.RequestId = _ctx.StringValue("DetectMask.RequestId"); DetectMaskResponse.DetectMask_Data data = new DetectMaskResponse.DetectMask_Data(); data.Mask = _ctx.IntegerValue("DetectMask.Data.Mask"); data.FaceProbability = _ctx.FloatValue("DetectMask.Data.FaceProbability"); detectMaskResponse.Data = data; return(detectMaskResponse); }
public static SearchObjectResponse Unmarshall(UnmarshallerContext context) { SearchObjectResponse searchObjectResponse = new SearchObjectResponse(); searchObjectResponse.HttpResponse = context.HttpResponse; searchObjectResponse.Code = context.StringValue("SearchObject.Code"); searchObjectResponse.Message = context.StringValue("SearchObject.Message"); searchObjectResponse.RequestId = context.StringValue("SearchObject.RequestId"); List <SearchObjectResponse.SearchObject_DataItem> searchObjectResponse_data = new List <SearchObjectResponse.SearchObject_DataItem>(); for (int i = 0; i < context.Length("SearchObject.Data.Length"); i++) { SearchObjectResponse.SearchObject_DataItem dataItem = new SearchObjectResponse.SearchObject_DataItem(); dataItem.PageNumber = context.IntegerValue("SearchObject.Data[" + i + "].PageNumber"); dataItem.PageSize = context.IntegerValue("SearchObject.Data[" + i + "].PageSize"); dataItem.TotalCount = context.IntegerValue("SearchObject.Data[" + i + "].TotalCount"); dataItem.TotalPage = context.IntegerValue("SearchObject.Data[" + i + "].TotalPage"); List <SearchObjectResponse.SearchObject_DataItem.SearchObject_RecordsItem> dataItem_records = new List <SearchObjectResponse.SearchObject_DataItem.SearchObject_RecordsItem>(); for (int j = 0; j < context.Length("SearchObject.Data[" + i + "].Records.Length"); j++) { SearchObjectResponse.SearchObject_DataItem.SearchObject_RecordsItem recordsItem = new SearchObjectResponse.SearchObject_DataItem.SearchObject_RecordsItem(); recordsItem.BodyShotTime = context.StringValue("SearchObject.Data[" + i + "].Records[" + j + "].BodyShotTime"); recordsItem.CompareResult = context.StringValue("SearchObject.Data[" + i + "].Records[" + j + "].CompareResult"); recordsItem.DeviceID = context.StringValue("SearchObject.Data[" + i + "].Records[" + j + "].DeviceID"); recordsItem.FaceShotTime = context.LongValue("SearchObject.Data[" + i + "].Records[" + j + "].FaceShotTime"); recordsItem.LeftTopX = context.IntegerValue("SearchObject.Data[" + i + "].Records[" + j + "].LeftTopX"); recordsItem.LeftTopY = context.IntegerValue("SearchObject.Data[" + i + "].Records[" + j + "].LeftTopY"); recordsItem.MotorShotTime = context.StringValue("SearchObject.Data[" + i + "].Records[" + j + "].MotorShotTime"); recordsItem.PassTime = context.StringValue("SearchObject.Data[" + i + "].Records[" + j + "].PassTime"); recordsItem.RightBtmX = context.IntegerValue("SearchObject.Data[" + i + "].Records[" + j + "].RightBtmX"); recordsItem.RightBtmY = context.IntegerValue("SearchObject.Data[" + i + "].Records[" + j + "].RightBtmY"); recordsItem.Score = context.FloatValue("SearchObject.Data[" + i + "].Records[" + j + "].Score"); recordsItem.SourceID = context.StringValue("SearchObject.Data[" + i + "].Records[" + j + "].SourceID"); recordsItem.SourceImagePath = context.StringValue("SearchObject.Data[" + i + "].Records[" + j + "].SourceImagePath"); recordsItem.SourceImageUrl = context.StringValue("SearchObject.Data[" + i + "].Records[" + j + "].SourceImageUrl"); recordsItem.TargetImagePath = context.StringValue("SearchObject.Data[" + i + "].Records[" + j + "].TargetImagePath"); recordsItem.TargetImageUrl = context.StringValue("SearchObject.Data[" + i + "].Records[" + j + "].TargetImageUrl"); dataItem_records.Add(recordsItem); } dataItem.Records = dataItem_records; searchObjectResponse_data.Add(dataItem); } searchObjectResponse.Data = searchObjectResponse_data; return(searchObjectResponse); }
public static DescribeSubscriptionPriceResponse Unmarshall(UnmarshallerContext _ctx) { DescribeSubscriptionPriceResponse describeSubscriptionPriceResponse = new DescribeSubscriptionPriceResponse(); describeSubscriptionPriceResponse.HttpResponse = _ctx.HttpResponse; describeSubscriptionPriceResponse.RequestId = _ctx.StringValue("DescribeSubscriptionPrice.RequestId"); describeSubscriptionPriceResponse.Success = _ctx.BooleanValue("DescribeSubscriptionPrice.Success"); describeSubscriptionPriceResponse.Code = _ctx.StringValue("DescribeSubscriptionPrice.Code"); describeSubscriptionPriceResponse.Message = _ctx.StringValue("DescribeSubscriptionPrice.Message"); describeSubscriptionPriceResponse.Currency = _ctx.StringValue("DescribeSubscriptionPrice.Currency"); describeSubscriptionPriceResponse.TradePrice = _ctx.FloatValue("DescribeSubscriptionPrice.TradePrice"); return(describeSubscriptionPriceResponse); }
public static DescribeOverviewDataResponse Unmarshall(UnmarshallerContext context) { DescribeOverviewDataResponse describeOverviewDataResponse = new DescribeOverviewDataResponse(); describeOverviewDataResponse.HttpResponse = context.HttpResponse; describeOverviewDataResponse.ErrorCode = context.StringValue("DescribeOverviewData.ErrorCode"); describeOverviewDataResponse.ErrorMessage = context.StringValue("DescribeOverviewData.ErrorMessage"); describeOverviewDataResponse.Message = context.StringValue("DescribeOverviewData.Message"); describeOverviewDataResponse.Code = context.StringValue("DescribeOverviewData.Code"); describeOverviewDataResponse.DynamicCode = context.StringValue("DescribeOverviewData.DynamicCode"); describeOverviewDataResponse.RequestId = context.StringValue("DescribeOverviewData.RequestId"); describeOverviewDataResponse.Success = context.BooleanValue("DescribeOverviewData.Success"); describeOverviewDataResponse.DynamicMessage = context.StringValue("DescribeOverviewData.DynamicMessage"); DescribeOverviewDataResponse.DescribeOverviewData_OverviewDetail overviewDetail = new DescribeOverviewDataResponse.DescribeOverviewData_OverviewDetail(); overviewDetail.StayDeepAvgWOWPercent = context.FloatValue("DescribeOverviewData.OverviewDetail.StayDeepAvgWOWPercent"); overviewDetail.StayDeepAvg = context.FloatValue("DescribeOverviewData.OverviewDetail.StayDeepAvg"); overviewDetail.UvAvgWOWPercent = context.FloatValue("DescribeOverviewData.OverviewDetail.UvAvgWOWPercent"); overviewDetail.StayAvgPeriodWOWPercent = context.FloatValue("DescribeOverviewData.OverviewDetail.StayAvgPeriodWOWPercent"); overviewDetail.UvEverySqmGrowthWOWPercent = context.FloatValue("DescribeOverviewData.OverviewDetail.UvEverySqmGrowthWOWPercent"); overviewDetail.UvWOWPercent = context.FloatValue("DescribeOverviewData.OverviewDetail.UvWOWPercent"); overviewDetail.Uv = context.LongValue("DescribeOverviewData.OverviewDetail.Uv"); overviewDetail.UvEverySqm = context.FloatValue("DescribeOverviewData.OverviewDetail.UvEverySqm"); overviewDetail.UvAvg = context.FloatValue("DescribeOverviewData.OverviewDetail.UvAvg"); overviewDetail.StayAvgPeriod = context.FloatValue("DescribeOverviewData.OverviewDetail.StayAvgPeriod"); describeOverviewDataResponse.OverviewDetail = overviewDetail; DescribeOverviewDataResponse.DescribeOverviewData_AccurateOverviewDetail accurateOverviewDetail = new DescribeOverviewDataResponse.DescribeOverviewData_AccurateOverviewDetail(); accurateOverviewDetail.StayDeepAvgWOWPercent = context.StringValue("DescribeOverviewData.AccurateOverviewDetail.StayDeepAvgWOWPercent"); accurateOverviewDetail.StayDeepAvg = context.StringValue("DescribeOverviewData.AccurateOverviewDetail.StayDeepAvg"); accurateOverviewDetail.UvAvgWOWPercent = context.StringValue("DescribeOverviewData.AccurateOverviewDetail.UvAvgWOWPercent"); accurateOverviewDetail.StayAvgPeriodWOWPercent = context.StringValue("DescribeOverviewData.AccurateOverviewDetail.StayAvgPeriodWOWPercent"); accurateOverviewDetail.UvWOWPercent = context.StringValue("DescribeOverviewData.AccurateOverviewDetail.UvWOWPercent"); accurateOverviewDetail.UvEverySqmGrowthWOWPercent = context.StringValue("DescribeOverviewData.AccurateOverviewDetail.UvEverySqmGrowthWOWPercent"); accurateOverviewDetail.Uv = context.LongValue("DescribeOverviewData.AccurateOverviewDetail.Uv"); accurateOverviewDetail.UvEverySqm = context.StringValue("DescribeOverviewData.AccurateOverviewDetail.UvEverySqm"); accurateOverviewDetail.UvAvg = context.StringValue("DescribeOverviewData.AccurateOverviewDetail.UvAvg"); accurateOverviewDetail.StayAvgPeriod = context.StringValue("DescribeOverviewData.AccurateOverviewDetail.StayAvgPeriod"); describeOverviewDataResponse.AccurateOverviewDetail = accurateOverviewDetail; return(describeOverviewDataResponse); }
public static ListDashboardResponse Unmarshall(UnmarshallerContext context) { ListDashboardResponse listDashboardResponse = new ListDashboardResponse(); listDashboardResponse.HttpResponse = context.HttpResponse; listDashboardResponse.RequestId = context.StringValue("ListDashboard.RequestId"); listDashboardResponse.Code = context.StringValue("ListDashboard.Code"); listDashboardResponse.Message = context.StringValue("ListDashboard.Message"); ListDashboardResponse.ListDashboard_Result result = new ListDashboardResponse.ListDashboard_Result(); result.Num = context.IntegerValue("ListDashboard.Result.Num"); List <ListDashboardResponse.ListDashboard_Result.ListDashboard_ListItem> result_list = new List <ListDashboardResponse.ListDashboard_Result.ListDashboard_ListItem>(); for (int i = 0; i < context.Length("ListDashboard.Result.List.Length"); i++) { ListDashboardResponse.ListDashboard_Result.ListDashboard_ListItem listItem = new ListDashboardResponse.ListDashboard_Result.ListDashboard_ListItem(); listItem.BizDate = context.LongValue("ListDashboard.Result.List[" + i + "].BizDate"); listItem.Pv = context.LongValue("ListDashboard.Result.List[" + i + "].Pv"); listItem.Uv = context.LongValue("ListDashboard.Result.List[" + i + "].Uv"); listItem.Click = context.LongValue("ListDashboard.Result.List[" + i + "].Click"); listItem.Ctr = context.FloatValue("ListDashboard.Result.List[" + i + "].Ctr"); listItem.UvCtr = context.FloatValue("ListDashboard.Result.List[" + i + "].UvCtr"); listItem.PerUvBhv = context.FloatValue("ListDashboard.Result.List[" + i + "].PerUvBhv"); listItem.PerUvClick = context.FloatValue("ListDashboard.Result.List[" + i + "].PerUvClick"); listItem.ClickUser = context.LongValue("ListDashboard.Result.List[" + i + "].ClickUser"); listItem.ActiveItem = context.LongValue("ListDashboard.Result.List[" + i + "].ActiveItem"); listItem.TraceId = context.StringValue("ListDashboard.Result.List[" + i + "].TraceId"); listItem.SceneId = context.StringValue("ListDashboard.Result.List[" + i + "].SceneId"); result_list.Add(listItem); } result.List = result_list; listDashboardResponse.Result = result; return(listDashboardResponse); }
public static QueryBrokerDemandResponse Unmarshall(UnmarshallerContext context) { QueryBrokerDemandResponse queryBrokerDemandResponse = new QueryBrokerDemandResponse(); queryBrokerDemandResponse.HttpResponse = context.HttpResponse; queryBrokerDemandResponse.RequestId = context.StringValue("QueryBrokerDemand.RequestId"); queryBrokerDemandResponse.TotalItemNum = context.IntegerValue("QueryBrokerDemand.TotalItemNum"); queryBrokerDemandResponse.CurrentPageNum = context.IntegerValue("QueryBrokerDemand.CurrentPageNum"); queryBrokerDemandResponse.PageSize = context.IntegerValue("QueryBrokerDemand.PageSize"); queryBrokerDemandResponse.TotalPageNum = context.IntegerValue("QueryBrokerDemand.TotalPageNum"); List <QueryBrokerDemandResponse.QueryBrokerDemand_Demand> queryBrokerDemandResponse_data = new List <QueryBrokerDemandResponse.QueryBrokerDemand_Demand>(); for (int i = 0; i < context.Length("QueryBrokerDemand.Data.Length"); i++) { QueryBrokerDemandResponse.QueryBrokerDemand_Demand demand = new QueryBrokerDemandResponse.QueryBrokerDemand_Demand(); demand.BizId = context.StringValue("QueryBrokerDemand.Data[" + i + "].BizId"); demand.Status = context.StringValue("QueryBrokerDemand.Data[" + i + "].Status"); demand.DemandDomain = context.StringValue("QueryBrokerDemand.Data[" + i + "].DemandDomain"); demand.DemandPrice = context.FloatValue("QueryBrokerDemand.Data[" + i + "].DemandPrice"); demand.Mobile = context.StringValue("QueryBrokerDemand.Data[" + i + "].Mobile"); demand.Description = context.StringValue("QueryBrokerDemand.Data[" + i + "].Description"); demand.PublishTime = context.LongValue("QueryBrokerDemand.Data[" + i + "].PublishTime"); demand.PayDomain = context.StringValue("QueryBrokerDemand.Data[" + i + "].PayDomain"); demand.PayPrice = context.FloatValue("QueryBrokerDemand.Data[" + i + "].PayPrice"); demand.PayTime = context.LongValue("QueryBrokerDemand.Data[" + i + "].PayTime"); demand.ProduceType = context.IntegerValue("QueryBrokerDemand.Data[" + i + "].ProduceType"); demand.BargainSellerPrice = context.FloatValue("QueryBrokerDemand.Data[" + i + "].BargainSellerPrice"); demand.BargainSellerMobile = context.StringValue("QueryBrokerDemand.Data[" + i + "].BargainSellerMobile"); demand.ServicePayPrice = context.FloatValue("QueryBrokerDemand.Data[" + i + "].ServicePayPrice"); queryBrokerDemandResponse_data.Add(demand); } queryBrokerDemandResponse.Data = queryBrokerDemandResponse_data; return(queryBrokerDemandResponse); }
public static ListAlarmHistoriesResponse Unmarshall(UnmarshallerContext _ctx) { ListAlarmHistoriesResponse listAlarmHistoriesResponse = new ListAlarmHistoriesResponse(); listAlarmHistoriesResponse.HttpResponse = _ctx.HttpResponse; listAlarmHistoriesResponse.RequestId = _ctx.StringValue("ListAlarmHistories.RequestId"); listAlarmHistoriesResponse.NextToken = _ctx.StringValue("ListAlarmHistories.NextToken"); listAlarmHistoriesResponse.MaxResults = _ctx.IntegerValue("ListAlarmHistories.MaxResults"); listAlarmHistoriesResponse.TotalCount = _ctx.IntegerValue("ListAlarmHistories.TotalCount"); List <ListAlarmHistoriesResponse.ListAlarmHistories_AlarmHistory> listAlarmHistoriesResponse_alarmHistories = new List <ListAlarmHistoriesResponse.ListAlarmHistories_AlarmHistory>(); for (int i = 0; i < _ctx.Length("ListAlarmHistories.AlarmHistories.Length"); i++) { ListAlarmHistoriesResponse.ListAlarmHistories_AlarmHistory alarmHistory = new ListAlarmHistoriesResponse.ListAlarmHistories_AlarmHistory(); alarmHistory.AlarmName = _ctx.StringValue("ListAlarmHistories.AlarmHistories[" + i + "].AlarmName"); alarmHistory.QuotaUsage = _ctx.FloatValue("ListAlarmHistories.AlarmHistories[" + i + "].QuotaUsage"); alarmHistory.ProductCode = _ctx.StringValue("ListAlarmHistories.AlarmHistories[" + i + "].ProductCode"); alarmHistory.CreateTime = _ctx.StringValue("ListAlarmHistories.AlarmHistories[" + i + "].CreateTime"); alarmHistory.NotifyTarget = _ctx.StringValue("ListAlarmHistories.AlarmHistories[" + i + "].NotifyTarget"); alarmHistory.Threshold = _ctx.FloatValue("ListAlarmHistories.AlarmHistories[" + i + "].Threshold"); alarmHistory.ThresholdPercent = _ctx.FloatValue("ListAlarmHistories.AlarmHistories[" + i + "].ThresholdPercent"); alarmHistory.QuotaActionCode = _ctx.StringValue("ListAlarmHistories.AlarmHistories[" + i + "].QuotaActionCode"); List <string> alarmHistory_notifyChannels = new List <string>(); for (int j = 0; j < _ctx.Length("ListAlarmHistories.AlarmHistories[" + i + "].NotifyChannels.Length"); j++) { alarmHistory_notifyChannels.Add(_ctx.StringValue("ListAlarmHistories.AlarmHistories[" + i + "].NotifyChannels[" + j + "]")); } alarmHistory.NotifyChannels = alarmHistory_notifyChannels; listAlarmHistoriesResponse_alarmHistories.Add(alarmHistory); } listAlarmHistoriesResponse.AlarmHistories = listAlarmHistoriesResponse_alarmHistories; return(listAlarmHistoriesResponse); }
public static ListGoodsStylesResponse Unmarshall(UnmarshallerContext context) { ListGoodsStylesResponse listGoodsStylesResponse = new ListGoodsStylesResponse(); listGoodsStylesResponse.HttpResponse = context.HttpResponse; listGoodsStylesResponse.PageSize = context.IntegerValue("ListGoodsStyles.PageSize"); listGoodsStylesResponse.PageNumber = context.IntegerValue("ListGoodsStyles.PageNumber"); listGoodsStylesResponse.RequestId = context.StringValue("ListGoodsStyles.RequestId"); listGoodsStylesResponse.Success = context.BooleanValue("ListGoodsStyles.Success"); listGoodsStylesResponse.TotalCount = context.IntegerValue("ListGoodsStyles.TotalCount"); List <ListGoodsStylesResponse.ListGoodsStyles_GoodsStyleModel> listGoodsStylesResponse_goodsStyles = new List <ListGoodsStylesResponse.ListGoodsStyles_GoodsStyleModel>(); for (int i = 0; i < context.Length("ListGoodsStyles.GoodsStyles.Length"); i++) { ListGoodsStylesResponse.ListGoodsStyles_GoodsStyleModel goodsStyleModel = new ListGoodsStylesResponse.ListGoodsStyles_GoodsStyleModel(); goodsStyleModel.SizeGroupName = context.StringValue("ListGoodsStyles.GoodsStyles[" + i + "].SizeGroupName"); goodsStyleModel.Disable = context.IntegerValue("ListGoodsStyles.GoodsStyles[" + i + "].Disable"); goodsStyleModel.Name = context.StringValue("ListGoodsStyles.GoodsStyles[" + i + "].Name"); goodsStyleModel.SizeGroupCode = context.StringValue("ListGoodsStyles.GoodsStyles[" + i + "].SizeGroupCode"); goodsStyleModel.RetailPrice = context.FloatValue("ListGoodsStyles.GoodsStyles[" + i + "].RetailPrice"); goodsStyleModel.SizeGroupId = context.StringValue("ListGoodsStyles.GoodsStyles[" + i + "].SizeGroupId"); goodsStyleModel.Code = context.StringValue("ListGoodsStyles.GoodsStyles[" + i + "].Code"); goodsStyleModel.UpdateDate = context.StringValue("ListGoodsStyles.GoodsStyles[" + i + "].UpdateDate"); goodsStyleModel.UseSkuColor = context.IntegerValue("ListGoodsStyles.GoodsStyles[" + i + "].UseSkuColor"); goodsStyleModel.Description = context.StringValue("ListGoodsStyles.GoodsStyles[" + i + "].Description"); goodsStyleModel.CurrentPrice = context.FloatValue("ListGoodsStyles.GoodsStyles[" + i + "].CurrentPrice"); goodsStyleModel.UseSkuSize = context.IntegerValue("ListGoodsStyles.GoodsStyles[" + i + "].UseSkuSize"); goodsStyleModel.CreateDate = context.StringValue("ListGoodsStyles.GoodsStyles[" + i + "].CreateDate"); goodsStyleModel.StyleId = context.StringValue("ListGoodsStyles.GoodsStyles[" + i + "].StyleId"); listGoodsStylesResponse_goodsStyles.Add(goodsStyleModel); } listGoodsStylesResponse.GoodsStyles = listGoodsStylesResponse_goodsStyles; return(listGoodsStylesResponse); }
public static QueryRIUtilizationDetailResponse Unmarshall(UnmarshallerContext context) { QueryRIUtilizationDetailResponse queryRIUtilizationDetailResponse = new QueryRIUtilizationDetailResponse(); queryRIUtilizationDetailResponse.HttpResponse = context.HttpResponse; queryRIUtilizationDetailResponse.RequestId = context.StringValue("QueryRIUtilizationDetail.RequestId"); queryRIUtilizationDetailResponse.Success = context.BooleanValue("QueryRIUtilizationDetail.Success"); queryRIUtilizationDetailResponse.Code = context.StringValue("QueryRIUtilizationDetail.Code"); queryRIUtilizationDetailResponse.Message = context.StringValue("QueryRIUtilizationDetail.Message"); QueryRIUtilizationDetailResponse.QueryRIUtilizationDetail_Data data = new QueryRIUtilizationDetailResponse.QueryRIUtilizationDetail_Data(); data.PageNum = context.LongValue("QueryRIUtilizationDetail.Data.PageNum"); data.PageSize = context.LongValue("QueryRIUtilizationDetail.Data.PageSize"); data.TotalCount = context.LongValue("QueryRIUtilizationDetail.Data.TotalCount"); List <QueryRIUtilizationDetailResponse.QueryRIUtilizationDetail_Data.QueryRIUtilizationDetail_DetailListItem> data_detailList = new List <QueryRIUtilizationDetailResponse.QueryRIUtilizationDetail_Data.QueryRIUtilizationDetail_DetailListItem>(); for (int i = 0; i < context.Length("QueryRIUtilizationDetail.Data.DetailList.Length"); i++) { QueryRIUtilizationDetailResponse.QueryRIUtilizationDetail_Data.QueryRIUtilizationDetail_DetailListItem detailListItem = new QueryRIUtilizationDetailResponse.QueryRIUtilizationDetail_Data.QueryRIUtilizationDetail_DetailListItem(); detailListItem.RIInstanceId = context.StringValue("QueryRIUtilizationDetail.Data.DetailList[" + i + "].RIInstanceId"); detailListItem.InstanceSpec = context.StringValue("QueryRIUtilizationDetail.Data.DetailList[" + i + "].InstanceSpec"); detailListItem.DeductedInstanceId = context.StringValue("QueryRIUtilizationDetail.Data.DetailList[" + i + "].DeductedInstanceId"); detailListItem.DeductedCommodityCode = context.StringValue("QueryRIUtilizationDetail.Data.DetailList[" + i + "].DeductedCommodityCode"); detailListItem.DeductDate = context.StringValue("QueryRIUtilizationDetail.Data.DetailList[" + i + "].DeductDate"); detailListItem.DeductHours = context.StringValue("QueryRIUtilizationDetail.Data.DetailList[" + i + "].DeductHours"); detailListItem.DeductedProductDetail = context.StringValue("QueryRIUtilizationDetail.Data.DetailList[" + i + "].DeductedProductDetail"); detailListItem.DeductQuantity = context.FloatValue("QueryRIUtilizationDetail.Data.DetailList[" + i + "].DeductQuantity"); detailListItem.DeductFactorTotal = context.FloatValue("QueryRIUtilizationDetail.Data.DetailList[" + i + "].DeductFactorTotal"); data_detailList.Add(detailListItem); } data.DetailList = data_detailList; queryRIUtilizationDetailResponse.Data = data; return(queryRIUtilizationDetailResponse); }
public static FindServiceStatisticalDataResponse Unmarshall(UnmarshallerContext context) { FindServiceStatisticalDataResponse findServiceStatisticalDataResponse = new FindServiceStatisticalDataResponse(); findServiceStatisticalDataResponse.HttpResponse = context.HttpResponse; findServiceStatisticalDataResponse.Code = context.IntegerValue("FindServiceStatisticalData.Code"); findServiceStatisticalDataResponse.Message = context.StringValue("FindServiceStatisticalData.Message"); findServiceStatisticalDataResponse.RequestId = context.StringValue("FindServiceStatisticalData.RequestId"); FindServiceStatisticalDataResponse.FindServiceStatisticalData_Data data = new FindServiceStatisticalDataResponse.FindServiceStatisticalData_Data(); data.CurrentPage = context.IntegerValue("FindServiceStatisticalData.Data.CurrentPage"); data.PageNumber = context.IntegerValue("FindServiceStatisticalData.Data.PageNumber"); List <FindServiceStatisticalDataResponse.FindServiceStatisticalData_Data.FindServiceStatisticalData_ServiceStatisticData> data_monitorStatisticData = new List <FindServiceStatisticalDataResponse.FindServiceStatisticalData_Data.FindServiceStatisticalData_ServiceStatisticData>(); for (int i = 0; i < context.Length("FindServiceStatisticalData.Data.MonitorStatisticData.Length"); i++) { FindServiceStatisticalDataResponse.FindServiceStatisticalData_Data.FindServiceStatisticalData_ServiceStatisticData serviceStatisticData = new FindServiceStatisticalDataResponse.FindServiceStatisticalData_Data.FindServiceStatisticalData_ServiceStatisticData(); serviceStatisticData.AvgRt = context.FloatValue("FindServiceStatisticalData.Data.MonitorStatisticData[" + i + "].AvgRt"); serviceStatisticData.MaxRt = context.FloatValue("FindServiceStatisticalData.Data.MonitorStatisticData[" + i + "].MaxRt"); serviceStatisticData.MinRt = context.FloatValue("FindServiceStatisticalData.Data.MonitorStatisticData[" + i + "].MinRt"); serviceStatisticData.RequestTime = context.LongValue("FindServiceStatisticalData.Data.MonitorStatisticData[" + i + "].RequestTime"); serviceStatisticData.ServiceName = context.StringValue("FindServiceStatisticalData.Data.MonitorStatisticData[" + i + "].ServiceName"); serviceStatisticData.UserId = context.StringValue("FindServiceStatisticalData.Data.MonitorStatisticData[" + i + "].UserId"); FindServiceStatisticalDataResponse.FindServiceStatisticalData_Data.FindServiceStatisticalData_ServiceStatisticData.FindServiceStatisticalData_Total total = new FindServiceStatisticalDataResponse.FindServiceStatisticalData_Data.FindServiceStatisticalData_ServiceStatisticData.FindServiceStatisticalData_Total(); total.ErrorNum = context.IntegerValue("FindServiceStatisticalData.Data.MonitorStatisticData[" + i + "].Total.ErrorNum"); total.Total = context.IntegerValue("FindServiceStatisticalData.Data.MonitorStatisticData[" + i + "].Total.Total"); serviceStatisticData.Total = total; data_monitorStatisticData.Add(serviceStatisticData); } data.MonitorStatisticData = data_monitorStatisticData; findServiceStatisticalDataResponse.Data = data; return(findServiceStatisticalDataResponse); }
public static QueryAccountBillResponse Unmarshall(UnmarshallerContext context) { QueryAccountBillResponse queryAccountBillResponse = new QueryAccountBillResponse(); queryAccountBillResponse.HttpResponse = context.HttpResponse; queryAccountBillResponse.RequestId = context.StringValue("QueryAccountBill.RequestId"); queryAccountBillResponse.Success = context.BooleanValue("QueryAccountBill.Success"); queryAccountBillResponse.Code = context.StringValue("QueryAccountBill.Code"); queryAccountBillResponse.Message = context.StringValue("QueryAccountBill.Message"); QueryAccountBillResponse.QueryAccountBill_Data data = new QueryAccountBillResponse.QueryAccountBill_Data(); data.BillingCycle = context.StringValue("QueryAccountBill.Data.BillingCycle"); data.AccountID = context.StringValue("QueryAccountBill.Data.AccountID"); data.AccountName = context.StringValue("QueryAccountBill.Data.AccountName"); data.TotalCount = context.IntegerValue("QueryAccountBill.Data.TotalCount"); data.PageNum = context.IntegerValue("QueryAccountBill.Data.PageNum"); data.PageSize = context.IntegerValue("QueryAccountBill.Data.PageSize"); List <QueryAccountBillResponse.QueryAccountBill_Data.QueryAccountBill_Item> data_items = new List <QueryAccountBillResponse.QueryAccountBill_Data.QueryAccountBill_Item>(); for (int i = 0; i < context.Length("QueryAccountBill.Data.Items.Length"); i++) { QueryAccountBillResponse.QueryAccountBill_Data.QueryAccountBill_Item item = new QueryAccountBillResponse.QueryAccountBill_Data.QueryAccountBill_Item(); item.CostUnit = context.StringValue("QueryAccountBill.Data.Items[" + i + "].CostUnit"); item.OwnerID = context.StringValue("QueryAccountBill.Data.Items[" + i + "].OwnerID"); item.PretaxGrossAmount = context.FloatValue("QueryAccountBill.Data.Items[" + i + "].PretaxGrossAmount"); item.InvoiceDiscount = context.FloatValue("QueryAccountBill.Data.Items[" + i + "].InvoiceDiscount"); item.DeductedByCoupons = context.FloatValue("QueryAccountBill.Data.Items[" + i + "].DeductedByCoupons"); item.PretaxAmount = context.FloatValue("QueryAccountBill.Data.Items[" + i + "].PretaxAmount"); item.DeductedByCashCoupons = context.FloatValue("QueryAccountBill.Data.Items[" + i + "].DeductedByCashCoupons"); item.DeductedByPrepaidCard = context.FloatValue("QueryAccountBill.Data.Items[" + i + "].DeductedByPrepaidCard"); item.PaymentAmount = context.FloatValue("QueryAccountBill.Data.Items[" + i + "].PaymentAmount"); item.OutstandingAmount = context.FloatValue("QueryAccountBill.Data.Items[" + i + "].OutstandingAmount"); item.Currency = context.StringValue("QueryAccountBill.Data.Items[" + i + "].Currency"); item.OwnerName = context.StringValue("QueryAccountBill.Data.Items[" + i + "].OwnerName"); item.ProductCode = context.StringValue("QueryAccountBill.Data.Items[" + i + "].ProductCode"); item.ProductName = context.StringValue("QueryAccountBill.Data.Items[" + i + "].ProductName"); item.SubscriptionType = context.StringValue("QueryAccountBill.Data.Items[" + i + "].SubscriptionType"); item.PipCode = context.StringValue("QueryAccountBill.Data.Items[" + i + "].PipCode"); data_items.Add(item); } data.Items = data_items; queryAccountBillResponse.Data = data; return(queryAccountBillResponse); }
public static DescribeLiveStreamRoomBitRateResponse Unmarshall(UnmarshallerContext context) { DescribeLiveStreamRoomBitRateResponse describeLiveStreamRoomBitRateResponse = new DescribeLiveStreamRoomBitRateResponse(); describeLiveStreamRoomBitRateResponse.HttpResponse = context.HttpResponse; describeLiveStreamRoomBitRateResponse.RequestId = context.StringValue("DescribeLiveStreamRoomBitRate.RequestId"); List <DescribeLiveStreamRoomBitRateResponse.DescribeLiveStreamRoomBitRate_FrameRateAndBitRateInfo> describeLiveStreamRoomBitRateResponse_frameRateAndBitRateInfos = new List <DescribeLiveStreamRoomBitRateResponse.DescribeLiveStreamRoomBitRate_FrameRateAndBitRateInfo>(); for (int i = 0; i < context.Length("DescribeLiveStreamRoomBitRate.FrameRateAndBitRateInfos.Length"); i++) { DescribeLiveStreamRoomBitRateResponse.DescribeLiveStreamRoomBitRate_FrameRateAndBitRateInfo frameRateAndBitRateInfo = new DescribeLiveStreamRoomBitRateResponse.DescribeLiveStreamRoomBitRate_FrameRateAndBitRateInfo(); frameRateAndBitRateInfo.StreamUrl = context.StringValue("DescribeLiveStreamRoomBitRate.FrameRateAndBitRateInfos[" + i + "].StreamUrl"); frameRateAndBitRateInfo.VideoFrameRate = context.FloatValue("DescribeLiveStreamRoomBitRate.FrameRateAndBitRateInfos[" + i + "].VideoFrameRate"); frameRateAndBitRateInfo.AudioFrameRate = context.FloatValue("DescribeLiveStreamRoomBitRate.FrameRateAndBitRateInfos[" + i + "].AudioFrameRate"); frameRateAndBitRateInfo.BitRate = context.FloatValue("DescribeLiveStreamRoomBitRate.FrameRateAndBitRateInfos[" + i + "].BitRate"); frameRateAndBitRateInfo.Time = context.StringValue("DescribeLiveStreamRoomBitRate.FrameRateAndBitRateInfos[" + i + "].Time"); describeLiveStreamRoomBitRateResponse_frameRateAndBitRateInfos.Add(frameRateAndBitRateInfo); } describeLiveStreamRoomBitRateResponse.FrameRateAndBitRateInfos = describeLiveStreamRoomBitRateResponse_frameRateAndBitRateInfos; return(describeLiveStreamRoomBitRateResponse); }
public static DescribeJobGroupExportTaskProgressResponse Unmarshall(UnmarshallerContext _ctx) { DescribeJobGroupExportTaskProgressResponse describeJobGroupExportTaskProgressResponse = new DescribeJobGroupExportTaskProgressResponse(); describeJobGroupExportTaskProgressResponse.HttpResponse = _ctx.HttpResponse; describeJobGroupExportTaskProgressResponse.RequestId = _ctx.StringValue("DescribeJobGroupExportTaskProgress.RequestId"); describeJobGroupExportTaskProgressResponse.Success = _ctx.BooleanValue("DescribeJobGroupExportTaskProgress.Success"); describeJobGroupExportTaskProgressResponse.Code = _ctx.StringValue("DescribeJobGroupExportTaskProgress.Code"); describeJobGroupExportTaskProgressResponse.Message = _ctx.StringValue("DescribeJobGroupExportTaskProgress.Message"); describeJobGroupExportTaskProgressResponse.HttpStatusCode = _ctx.IntegerValue("DescribeJobGroupExportTaskProgress.HttpStatusCode"); describeJobGroupExportTaskProgressResponse.FileHttpUrl = _ctx.StringValue("DescribeJobGroupExportTaskProgress.FileHttpUrl"); describeJobGroupExportTaskProgressResponse.Progress = _ctx.FloatValue("DescribeJobGroupExportTaskProgress.Progress"); return(describeJobGroupExportTaskProgressResponse); }
public static DescribePriceResponse Unmarshall(UnmarshallerContext context) { DescribePriceResponse describePriceResponse = new DescribePriceResponse(); describePriceResponse.HttpResponse = context.HttpResponse; describePriceResponse.RequestId = context.StringValue("DescribePrice.RequestId"); describePriceResponse.TotalTradePrice = context.FloatValue("DescribePrice.TotalTradePrice"); List <DescribePriceResponse.DescribePrice_PriceInfo> describePriceResponse_prices = new List <DescribePriceResponse.DescribePrice_PriceInfo>(); for (int i = 0; i < context.Length("DescribePrice.Prices.Length"); i++) { DescribePriceResponse.DescribePrice_PriceInfo priceInfo = new DescribePriceResponse.DescribePrice_PriceInfo(); priceInfo.NodeType = context.StringValue("DescribePrice.Prices[" + i + "].NodeType"); priceInfo.OriginalPrice = context.FloatValue("DescribePrice.Prices[" + i + "].OriginalPrice"); priceInfo.TradePrice = context.FloatValue("DescribePrice.Prices[" + i + "].TradePrice"); priceInfo.Currency = context.StringValue("DescribePrice.Prices[" + i + "].Currency"); describePriceResponse_prices.Add(priceInfo); } describePriceResponse.Prices = describePriceResponse_prices; return(describePriceResponse); }
public static VerifyMaterialResponse Unmarshall(UnmarshallerContext _ctx) { VerifyMaterialResponse verifyMaterialResponse = new VerifyMaterialResponse(); verifyMaterialResponse.HttpResponse = _ctx.HttpResponse; verifyMaterialResponse.RequestId = _ctx.StringValue("VerifyMaterial.RequestId"); verifyMaterialResponse.VerifyToken = _ctx.StringValue("VerifyMaterial.VerifyToken"); verifyMaterialResponse.VerifyStatus = _ctx.IntegerValue("VerifyMaterial.VerifyStatus"); verifyMaterialResponse.AuthorityComparisionScore = _ctx.FloatValue("VerifyMaterial.AuthorityComparisionScore"); verifyMaterialResponse.IdCardFaceComparisonScore = _ctx.FloatValue("VerifyMaterial.IdCardFaceComparisonScore"); VerifyMaterialResponse.VerifyMaterial_Material material = new VerifyMaterialResponse.VerifyMaterial_Material(); material.FaceImageUrl = _ctx.StringValue("VerifyMaterial.Material.FaceImageUrl"); material.IdCardName = _ctx.StringValue("VerifyMaterial.Material.IdCardName"); material.IdCardNumber = _ctx.StringValue("VerifyMaterial.Material.IdCardNumber"); material.FaceQuality = _ctx.StringValue("VerifyMaterial.Material.FaceQuality"); material.FaceGlobalUrl = _ctx.StringValue("VerifyMaterial.Material.FaceGlobalUrl"); material.FaceMask = _ctx.StringValue("VerifyMaterial.Material.FaceMask"); VerifyMaterialResponse.VerifyMaterial_Material.VerifyMaterial_IdCardInfo idCardInfo = new VerifyMaterialResponse.VerifyMaterial_Material.VerifyMaterial_IdCardInfo(); idCardInfo.Number = _ctx.StringValue("VerifyMaterial.Material.IdCardInfo.Number"); idCardInfo.Address = _ctx.StringValue("VerifyMaterial.Material.IdCardInfo.Address"); idCardInfo.Nationality = _ctx.StringValue("VerifyMaterial.Material.IdCardInfo.Nationality"); idCardInfo.EndDate = _ctx.StringValue("VerifyMaterial.Material.IdCardInfo.EndDate"); idCardInfo.FrontImageUrl = _ctx.StringValue("VerifyMaterial.Material.IdCardInfo.FrontImageUrl"); idCardInfo.Authority = _ctx.StringValue("VerifyMaterial.Material.IdCardInfo.Authority"); idCardInfo.Sex = _ctx.StringValue("VerifyMaterial.Material.IdCardInfo.Sex"); idCardInfo.Name = _ctx.StringValue("VerifyMaterial.Material.IdCardInfo.Name"); idCardInfo.Birth = _ctx.StringValue("VerifyMaterial.Material.IdCardInfo.Birth"); idCardInfo.BackImageUrl = _ctx.StringValue("VerifyMaterial.Material.IdCardInfo.BackImageUrl"); idCardInfo.StartDate = _ctx.StringValue("VerifyMaterial.Material.IdCardInfo.StartDate"); material.IdCardInfo = idCardInfo; verifyMaterialResponse.Material = material; return(verifyMaterialResponse); }
public static DescribeCdnUserBillHistoryResponse Unmarshall(UnmarshallerContext _ctx) { DescribeCdnUserBillHistoryResponse describeCdnUserBillHistoryResponse = new DescribeCdnUserBillHistoryResponse(); describeCdnUserBillHistoryResponse.HttpResponse = _ctx.HttpResponse; describeCdnUserBillHistoryResponse.RequestId = _ctx.StringValue("DescribeCdnUserBillHistory.RequestId"); List <DescribeCdnUserBillHistoryResponse.DescribeCdnUserBillHistory_BillHistoryDataItem> describeCdnUserBillHistoryResponse_billHistoryData = new List <DescribeCdnUserBillHistoryResponse.DescribeCdnUserBillHistory_BillHistoryDataItem>(); for (int i = 0; i < _ctx.Length("DescribeCdnUserBillHistory.BillHistoryData.Length"); i++) { DescribeCdnUserBillHistoryResponse.DescribeCdnUserBillHistory_BillHistoryDataItem billHistoryDataItem = new DescribeCdnUserBillHistoryResponse.DescribeCdnUserBillHistory_BillHistoryDataItem(); billHistoryDataItem.Dimension = _ctx.StringValue("DescribeCdnUserBillHistory.BillHistoryData[" + i + "].Dimension"); billHistoryDataItem.BillType = _ctx.StringValue("DescribeCdnUserBillHistory.BillHistoryData[" + i + "].BillType"); billHistoryDataItem.BillTime = _ctx.StringValue("DescribeCdnUserBillHistory.BillHistoryData[" + i + "].BillTime"); List <DescribeCdnUserBillHistoryResponse.DescribeCdnUserBillHistory_BillHistoryDataItem.DescribeCdnUserBillHistory_BillingDataItem> billHistoryDataItem_billingData = new List <DescribeCdnUserBillHistoryResponse.DescribeCdnUserBillHistory_BillHistoryDataItem.DescribeCdnUserBillHistory_BillingDataItem>(); for (int j = 0; j < _ctx.Length("DescribeCdnUserBillHistory.BillHistoryData[" + i + "].BillingData.Length"); j++) { DescribeCdnUserBillHistoryResponse.DescribeCdnUserBillHistory_BillHistoryDataItem.DescribeCdnUserBillHistory_BillingDataItem billingDataItem = new DescribeCdnUserBillHistoryResponse.DescribeCdnUserBillHistory_BillHistoryDataItem.DescribeCdnUserBillHistory_BillingDataItem(); billingDataItem.ChargeType = _ctx.StringValue("DescribeCdnUserBillHistory.BillHistoryData[" + i + "].BillingData[" + j + "].ChargeType"); billingDataItem.CdnRegion = _ctx.StringValue("DescribeCdnUserBillHistory.BillHistoryData[" + i + "].BillingData[" + j + "].CdnRegion"); billingDataItem.Bandwidth = _ctx.FloatValue("DescribeCdnUserBillHistory.BillHistoryData[" + i + "].BillingData[" + j + "].Bandwidth"); billingDataItem.Flow = _ctx.FloatValue("DescribeCdnUserBillHistory.BillHistoryData[" + i + "].BillingData[" + j + "].Flow"); billingDataItem.Count = _ctx.FloatValue("DescribeCdnUserBillHistory.BillHistoryData[" + i + "].BillingData[" + j + "].Count"); billHistoryDataItem_billingData.Add(billingDataItem); } billHistoryDataItem.BillingData = billHistoryDataItem_billingData; describeCdnUserBillHistoryResponse_billHistoryData.Add(billHistoryDataItem); } describeCdnUserBillHistoryResponse.BillHistoryData = describeCdnUserBillHistoryResponse_billHistoryData; return(describeCdnUserBillHistoryResponse); }
public static DescribeRoleZoneInfoResponse Unmarshall(UnmarshallerContext _ctx) { DescribeRoleZoneInfoResponse describeRoleZoneInfoResponse = new DescribeRoleZoneInfoResponse(); describeRoleZoneInfoResponse.HttpResponse = _ctx.HttpResponse; describeRoleZoneInfoResponse.RequestId = _ctx.StringValue("DescribeRoleZoneInfo.RequestId"); describeRoleZoneInfoResponse.PageNumber = _ctx.IntegerValue("DescribeRoleZoneInfo.PageNumber"); describeRoleZoneInfoResponse.PageSize = _ctx.IntegerValue("DescribeRoleZoneInfo.PageSize"); describeRoleZoneInfoResponse.TotalCount = _ctx.IntegerValue("DescribeRoleZoneInfo.TotalCount"); List <DescribeRoleZoneInfoResponse.DescribeRoleZoneInfo_NodeInfo> describeRoleZoneInfoResponse_node = new List <DescribeRoleZoneInfoResponse.DescribeRoleZoneInfo_NodeInfo>(); for (int i = 0; i < _ctx.Length("DescribeRoleZoneInfo.Node.Length"); i++) { DescribeRoleZoneInfoResponse.DescribeRoleZoneInfo_NodeInfo nodeInfo = new DescribeRoleZoneInfoResponse.DescribeRoleZoneInfo_NodeInfo(); nodeInfo.NodeId = _ctx.StringValue("DescribeRoleZoneInfo.Node[" + i + "].NodeId"); nodeInfo.NodeType = _ctx.StringValue("DescribeRoleZoneInfo.Node[" + i + "].NodeType"); nodeInfo.Role = _ctx.StringValue("DescribeRoleZoneInfo.Node[" + i + "].Role"); nodeInfo.ZoneId = _ctx.StringValue("DescribeRoleZoneInfo.Node[" + i + "].ZoneId"); nodeInfo.CPUUsage = _ctx.StringValue("DescribeRoleZoneInfo.Node[" + i + "].CPUUsage"); nodeInfo.Connection = _ctx.FloatValue("DescribeRoleZoneInfo.Node[" + i + "].Connection"); nodeInfo.AvgRt = _ctx.FloatValue("DescribeRoleZoneInfo.Node[" + i + "].AvgRt"); nodeInfo.IntranetIn = _ctx.FloatValue("DescribeRoleZoneInfo.Node[" + i + "].IntranetIn"); nodeInfo.IntranetOut = _ctx.FloatValue("DescribeRoleZoneInfo.Node[" + i + "].IntranetOut"); nodeInfo.CustinsId = _ctx.StringValue("DescribeRoleZoneInfo.Node[" + i + "].CustinsId"); nodeInfo.InsType = _ctx.IntegerValue("DescribeRoleZoneInfo.Node[" + i + "].InsType"); nodeInfo.InsName = _ctx.StringValue("DescribeRoleZoneInfo.Node[" + i + "].InsName"); nodeInfo.IsLatestVersion = _ctx.IntegerValue("DescribeRoleZoneInfo.Node[" + i + "].IsLatestVersion"); nodeInfo.CurrentMinorVersion = _ctx.StringValue("DescribeRoleZoneInfo.Node[" + i + "].CurrentMinorVersion"); describeRoleZoneInfoResponse_node.Add(nodeInfo); } describeRoleZoneInfoResponse.Node = describeRoleZoneInfoResponse_node; return(describeRoleZoneInfoResponse); }
public static CreateLiveStreamRecordIndexFilesResponse Unmarshall(UnmarshallerContext context) { CreateLiveStreamRecordIndexFilesResponse createLiveStreamRecordIndexFilesResponse = new CreateLiveStreamRecordIndexFilesResponse(); createLiveStreamRecordIndexFilesResponse.HttpResponse = context.HttpResponse; createLiveStreamRecordIndexFilesResponse.RequestId = context.StringValue("CreateLiveStreamRecordIndexFiles.RequestId"); CreateLiveStreamRecordIndexFilesResponse.RecordInfo_ recordInfo = new CreateLiveStreamRecordIndexFilesResponse.RecordInfo_(); recordInfo.RecordId = context.StringValue("CreateLiveStreamRecordIndexFiles.RecordInfo.RecordId"); recordInfo.RecordUrl = context.StringValue("CreateLiveStreamRecordIndexFiles.RecordInfo.RecordUrl"); recordInfo.Duration = context.FloatValue("CreateLiveStreamRecordIndexFiles.RecordInfo.Duration"); recordInfo.Height = context.IntegerValue("CreateLiveStreamRecordIndexFiles.RecordInfo.Height"); recordInfo.Width = context.IntegerValue("CreateLiveStreamRecordIndexFiles.RecordInfo.Width"); recordInfo.CreateTime = context.StringValue("CreateLiveStreamRecordIndexFiles.RecordInfo.CreateTime"); createLiveStreamRecordIndexFilesResponse.RecordInfo = recordInfo; return createLiveStreamRecordIndexFilesResponse; }
public static DescribeDomainDownstreamBpsOfEdgeResponse Unmarshall(UnmarshallerContext context) { DescribeDomainDownstreamBpsOfEdgeResponse describeDomainDownstreamBpsOfEdgeResponse = new DescribeDomainDownstreamBpsOfEdgeResponse(); describeDomainDownstreamBpsOfEdgeResponse.HttpResponse = context.HttpResponse; describeDomainDownstreamBpsOfEdgeResponse.RequestId = context.StringValue("DescribeDomainDownstreamBpsOfEdge.RequestId"); List<DescribeDomainDownstreamBpsOfEdgeResponse.DomainBpsModel> bpsDatas = new List<DescribeDomainDownstreamBpsOfEdgeResponse.DomainBpsModel>(); for (int i = 0; i < context.Length("DescribeDomainDownstreamBpsOfEdge.BpsDatas.Length"); i++) { DescribeDomainDownstreamBpsOfEdgeResponse.DomainBpsModel domainBpsModel = new DescribeDomainDownstreamBpsOfEdgeResponse.DomainBpsModel(); domainBpsModel.Time = context.StringValue("DescribeDomainDownstreamBpsOfEdge.BpsDatas["+ i +"].Time"); domainBpsModel.Bps = context.FloatValue("DescribeDomainDownstreamBpsOfEdge.BpsDatas["+ i +"].Bps"); bpsDatas.Add(domainBpsModel); } describeDomainDownstreamBpsOfEdgeResponse.BpsDatas = bpsDatas; return describeDomainDownstreamBpsOfEdgeResponse; }
public static DescribeInstanceTypesResponse Unmarshall(UnmarshallerContext context) { DescribeInstanceTypesResponse describeInstanceTypesResponse = new DescribeInstanceTypesResponse(); describeInstanceTypesResponse.HttpResponse = context.HttpResponse; describeInstanceTypesResponse.RequestId = context.StringValue("DescribeInstanceTypes.RequestId"); List<DescribeInstanceTypesResponse.InstanceType> instanceTypes = new List<DescribeInstanceTypesResponse.InstanceType>(); for (int i = 0; i < context.Length("DescribeInstanceTypes.InstanceTypes.Length"); i++) { DescribeInstanceTypesResponse.InstanceType instanceType = new DescribeInstanceTypesResponse.InstanceType(); instanceType.InstanceTypeId = context.StringValue("DescribeInstanceTypes.InstanceTypes["+ i +"].InstanceTypeId"); instanceType.CpuCoreCount = context.IntegerValue("DescribeInstanceTypes.InstanceTypes["+ i +"].CpuCoreCount"); instanceType.MemorySize = context.FloatValue("DescribeInstanceTypes.InstanceTypes["+ i +"].MemorySize"); instanceType.InstanceTypeFamily = context.StringValue("DescribeInstanceTypes.InstanceTypes["+ i +"].InstanceTypeFamily"); instanceTypes.Add(instanceType); } describeInstanceTypesResponse.InstanceTypes = instanceTypes; return describeInstanceTypesResponse; }
public static DescribeLiveStreamRecordContentResponse Unmarshall(UnmarshallerContext context) { DescribeLiveStreamRecordContentResponse describeLiveStreamRecordContentResponse = new DescribeLiveStreamRecordContentResponse(); describeLiveStreamRecordContentResponse.HttpResponse = context.HttpResponse; describeLiveStreamRecordContentResponse.RequestId = context.StringValue("DescribeLiveStreamRecordContent.RequestId"); List<DescribeLiveStreamRecordContentResponse.RecordContentInfo> recordContentInfoList = new List<DescribeLiveStreamRecordContentResponse.RecordContentInfo>(); for (int i = 0; i < context.Length("DescribeLiveStreamRecordContent.RecordContentInfoList.Length"); i++) { DescribeLiveStreamRecordContentResponse.RecordContentInfo recordContentInfo = new DescribeLiveStreamRecordContentResponse.RecordContentInfo(); recordContentInfo.OssEndpoint = context.StringValue("DescribeLiveStreamRecordContent.RecordContentInfoList["+ i +"].OssEndpoint"); recordContentInfo.OssBucket = context.StringValue("DescribeLiveStreamRecordContent.RecordContentInfoList["+ i +"].OssBucket"); recordContentInfo.OssObjectPrefix = context.StringValue("DescribeLiveStreamRecordContent.RecordContentInfoList["+ i +"].OssObjectPrefix"); recordContentInfo.StartTime = context.StringValue("DescribeLiveStreamRecordContent.RecordContentInfoList["+ i +"].StartTime"); recordContentInfo.EndTime = context.StringValue("DescribeLiveStreamRecordContent.RecordContentInfoList["+ i +"].EndTime"); recordContentInfo.Duration = context.FloatValue("DescribeLiveStreamRecordContent.RecordContentInfoList["+ i +"].Duration"); recordContentInfoList.Add(recordContentInfo); } describeLiveStreamRecordContentResponse.RecordContentInfoList = recordContentInfoList; return describeLiveStreamRecordContentResponse; }
public static DescribeLiveStreamRecordIndexFileResponse Unmarshall(UnmarshallerContext context) { DescribeLiveStreamRecordIndexFileResponse describeLiveStreamRecordIndexFileResponse = new DescribeLiveStreamRecordIndexFileResponse(); describeLiveStreamRecordIndexFileResponse.HttpResponse = context.HttpResponse; describeLiveStreamRecordIndexFileResponse.RequestId = context.StringValue("DescribeLiveStreamRecordIndexFile.RequestId"); DescribeLiveStreamRecordIndexFileResponse.RecordIndexInfo_ recordIndexInfo = new DescribeLiveStreamRecordIndexFileResponse.RecordIndexInfo_(); recordIndexInfo.RecordId = context.StringValue("DescribeLiveStreamRecordIndexFile.RecordIndexInfo.RecordId"); recordIndexInfo.RecordUrl = context.StringValue("DescribeLiveStreamRecordIndexFile.RecordIndexInfo.RecordUrl"); recordIndexInfo.DomainName = context.StringValue("DescribeLiveStreamRecordIndexFile.RecordIndexInfo.DomainName"); recordIndexInfo.AppName = context.StringValue("DescribeLiveStreamRecordIndexFile.RecordIndexInfo.AppName"); recordIndexInfo.StreamName = context.StringValue("DescribeLiveStreamRecordIndexFile.RecordIndexInfo.StreamName"); recordIndexInfo.OssObject = context.StringValue("DescribeLiveStreamRecordIndexFile.RecordIndexInfo.OssObject"); recordIndexInfo.StartTime = context.StringValue("DescribeLiveStreamRecordIndexFile.RecordIndexInfo.StartTime"); recordIndexInfo.EndTime = context.StringValue("DescribeLiveStreamRecordIndexFile.RecordIndexInfo.EndTime"); recordIndexInfo.Duration = context.FloatValue("DescribeLiveStreamRecordIndexFile.RecordIndexInfo.Duration"); recordIndexInfo.Height = context.IntegerValue("DescribeLiveStreamRecordIndexFile.RecordIndexInfo.Height"); recordIndexInfo.Width = context.IntegerValue("DescribeLiveStreamRecordIndexFile.RecordIndexInfo.Width"); recordIndexInfo.CreateTime = context.StringValue("DescribeLiveStreamRecordIndexFile.RecordIndexInfo.CreateTime"); describeLiveStreamRecordIndexFileResponse.RecordIndexInfo = recordIndexInfo; return describeLiveStreamRecordIndexFileResponse; }