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.RequestId = context.StringValue("DescribeOverviewData.RequestId"); describeOverviewDataResponse.Success = context.BooleanValue("DescribeOverviewData.Success"); 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; return(describeOverviewDataResponse); }
public static DescribeOverviewDataResponse Unmarshall(UnmarshallerContext _ctx) { DescribeOverviewDataResponse describeOverviewDataResponse = new DescribeOverviewDataResponse(); describeOverviewDataResponse.HttpResponse = _ctx.HttpResponse; describeOverviewDataResponse.ErrorCode = _ctx.StringValue("DescribeOverviewData.ErrorCode"); describeOverviewDataResponse.ErrorMessage = _ctx.StringValue("DescribeOverviewData.ErrorMessage"); describeOverviewDataResponse.Message = _ctx.StringValue("DescribeOverviewData.Message"); describeOverviewDataResponse.Code = _ctx.StringValue("DescribeOverviewData.Code"); describeOverviewDataResponse.DynamicCode = _ctx.StringValue("DescribeOverviewData.DynamicCode"); describeOverviewDataResponse.RequestId = _ctx.StringValue("DescribeOverviewData.RequestId"); describeOverviewDataResponse.Success = _ctx.BooleanValue("DescribeOverviewData.Success"); describeOverviewDataResponse.DynamicMessage = _ctx.StringValue("DescribeOverviewData.DynamicMessage"); DescribeOverviewDataResponse.DescribeOverviewData_OverviewDetail overviewDetail = new DescribeOverviewDataResponse.DescribeOverviewData_OverviewDetail(); overviewDetail.StayDeepAvgWOWPercent = _ctx.FloatValue("DescribeOverviewData.OverviewDetail.StayDeepAvgWOWPercent"); overviewDetail.StayDeepAvg = _ctx.FloatValue("DescribeOverviewData.OverviewDetail.StayDeepAvg"); overviewDetail.UvAvgWOWPercent = _ctx.FloatValue("DescribeOverviewData.OverviewDetail.UvAvgWOWPercent"); overviewDetail.StayAvgPeriodWOWPercent = _ctx.FloatValue("DescribeOverviewData.OverviewDetail.StayAvgPeriodWOWPercent"); overviewDetail.UvEverySqmGrowthWOWPercent = _ctx.FloatValue("DescribeOverviewData.OverviewDetail.UvEverySqmGrowthWOWPercent"); overviewDetail.UvWOWPercent = _ctx.FloatValue("DescribeOverviewData.OverviewDetail.UvWOWPercent"); overviewDetail.Uv = _ctx.LongValue("DescribeOverviewData.OverviewDetail.Uv"); overviewDetail.UvEverySqm = _ctx.FloatValue("DescribeOverviewData.OverviewDetail.UvEverySqm"); overviewDetail.UvAvg = _ctx.FloatValue("DescribeOverviewData.OverviewDetail.UvAvg"); overviewDetail.StayAvgPeriod = _ctx.FloatValue("DescribeOverviewData.OverviewDetail.StayAvgPeriod"); describeOverviewDataResponse.OverviewDetail = overviewDetail; DescribeOverviewDataResponse.DescribeOverviewData_AccurateOverviewDetail accurateOverviewDetail = new DescribeOverviewDataResponse.DescribeOverviewData_AccurateOverviewDetail(); accurateOverviewDetail.StayDeepAvgWOWPercent = _ctx.StringValue("DescribeOverviewData.AccurateOverviewDetail.StayDeepAvgWOWPercent"); accurateOverviewDetail.StayDeepAvg = _ctx.StringValue("DescribeOverviewData.AccurateOverviewDetail.StayDeepAvg"); accurateOverviewDetail.UvAvgWOWPercent = _ctx.StringValue("DescribeOverviewData.AccurateOverviewDetail.UvAvgWOWPercent"); accurateOverviewDetail.StayAvgPeriodWOWPercent = _ctx.StringValue("DescribeOverviewData.AccurateOverviewDetail.StayAvgPeriodWOWPercent"); accurateOverviewDetail.UvWOWPercent = _ctx.StringValue("DescribeOverviewData.AccurateOverviewDetail.UvWOWPercent"); accurateOverviewDetail.UvEverySqmGrowthWOWPercent = _ctx.StringValue("DescribeOverviewData.AccurateOverviewDetail.UvEverySqmGrowthWOWPercent"); accurateOverviewDetail.Uv = _ctx.LongValue("DescribeOverviewData.AccurateOverviewDetail.Uv"); accurateOverviewDetail.UvEverySqm = _ctx.StringValue("DescribeOverviewData.AccurateOverviewDetail.UvEverySqm"); accurateOverviewDetail.UvAvg = _ctx.StringValue("DescribeOverviewData.AccurateOverviewDetail.UvAvg"); accurateOverviewDetail.StayAvgPeriod = _ctx.StringValue("DescribeOverviewData.AccurateOverviewDetail.StayAvgPeriod"); describeOverviewDataResponse.AccurateOverviewDetail = accurateOverviewDetail; return(describeOverviewDataResponse); }