public static DescribeCacheAnalysisReportResponse Unmarshall(UnmarshallerContext _ctx) { DescribeCacheAnalysisReportResponse describeCacheAnalysisReportResponse = new DescribeCacheAnalysisReportResponse(); describeCacheAnalysisReportResponse.HttpResponse = _ctx.HttpResponse; describeCacheAnalysisReportResponse.RequestId = _ctx.StringValue("DescribeCacheAnalysisReport.RequestId"); describeCacheAnalysisReportResponse.TotalRecordCount = _ctx.IntegerValue("DescribeCacheAnalysisReport.TotalRecordCount"); describeCacheAnalysisReportResponse.PageSize = _ctx.IntegerValue("DescribeCacheAnalysisReport.PageSize"); describeCacheAnalysisReportResponse.PageNumber = _ctx.IntegerValue("DescribeCacheAnalysisReport.PageNumber"); describeCacheAnalysisReportResponse.PageRecordCount = _ctx.IntegerValue("DescribeCacheAnalysisReport.PageRecordCount"); List <Dictionary <string, string> > describeCacheAnalysisReportResponse_hotKeys = new List <Dictionary <string, string> >(); for (int i = 0; i < _ctx.Length("DescribeCacheAnalysisReport.HotKeys.Length"); i++) { Dictionary <string, string> tmp = new Dictionary <string, string>() { }; foreach (var _item in _ctx.ResponseDictionary) { string prefix = "DescribeCacheAnalysisReport.HotKeys[" + i + "]."; if (_item.Key.IndexOf(prefix) == 0) { tmp.Add(_item.Key.Substring(prefix.Length), _item.Value); } } if (tmp.Count > 0) { describeCacheAnalysisReportResponse_hotKeys.Add(tmp); } } describeCacheAnalysisReportResponse.HotKeys = describeCacheAnalysisReportResponse_hotKeys; List <Dictionary <string, string> > describeCacheAnalysisReportResponse_bigKeys = new List <Dictionary <string, string> >(); for (int i = 0; i < _ctx.Length("DescribeCacheAnalysisReport.BigKeys.Length"); i++) { Dictionary <string, string> tmp = new Dictionary <string, string>() { }; foreach (var _item in _ctx.ResponseDictionary) { string prefix = "DescribeCacheAnalysisReport.BigKeys[" + i + "]."; if (_item.Key.IndexOf(prefix) == 0) { tmp.Add(_item.Key.Substring(prefix.Length), _item.Value); } } if (tmp.Count > 0) { describeCacheAnalysisReportResponse_bigKeys.Add(tmp); } } describeCacheAnalysisReportResponse.BigKeys = describeCacheAnalysisReportResponse_bigKeys; return(describeCacheAnalysisReportResponse); }
public static DescribeCacheAnalysisReportResponse Unmarshall(UnmarshallerContext context) { DescribeCacheAnalysisReportResponse describeCacheAnalysisReportResponse = new DescribeCacheAnalysisReportResponse(); describeCacheAnalysisReportResponse.HttpResponse = context.HttpResponse; describeCacheAnalysisReportResponse.RequestId = context.StringValue("DescribeCacheAnalysisReport.RequestId"); describeCacheAnalysisReportResponse.TotalRecordCount = context.IntegerValue("DescribeCacheAnalysisReport.TotalRecordCount"); describeCacheAnalysisReportResponse.PageSize = context.IntegerValue("DescribeCacheAnalysisReport.PageSize"); describeCacheAnalysisReportResponse.PageNumber = context.IntegerValue("DescribeCacheAnalysisReport.PageNumber"); describeCacheAnalysisReportResponse.PageRecordCount = context.IntegerValue("DescribeCacheAnalysisReport.PageRecordCount"); describeCacheAnalysisReportResponse.HotKeys = context.StringValue("DescribeCacheAnalysisReport.HotKeys"); describeCacheAnalysisReportResponse.BigKeys = context.StringValue("DescribeCacheAnalysisReport.BigKeys"); return(describeCacheAnalysisReportResponse); }