public static DescribeDomainHttpCodeDataResponse Unmarshall(UnmarshallerContext context) { DescribeDomainHttpCodeDataResponse describeDomainHttpCodeDataResponse = new DescribeDomainHttpCodeDataResponse(); describeDomainHttpCodeDataResponse.HttpResponse = context.HttpResponse; describeDomainHttpCodeDataResponse.RequestId = context.StringValue("DescribeDomainHttpCodeData.RequestId"); describeDomainHttpCodeDataResponse.DomainName = context.StringValue("DescribeDomainHttpCodeData.DomainName"); describeDomainHttpCodeDataResponse.DataInterval = context.StringValue("DescribeDomainHttpCodeData.DataInterval"); describeDomainHttpCodeDataResponse.StartTime = context.StringValue("DescribeDomainHttpCodeData.StartTime"); describeDomainHttpCodeDataResponse.EndTime = context.StringValue("DescribeDomainHttpCodeData.EndTime"); List<DescribeDomainHttpCodeDataResponse.UsageData> httpCodeData = new List<DescribeDomainHttpCodeDataResponse.UsageData>(); for (int i = 0; i < context.Length("DescribeDomainHttpCodeData.HttpCodeData.Length"); i++) { DescribeDomainHttpCodeDataResponse.UsageData usageData = new DescribeDomainHttpCodeDataResponse.UsageData(); usageData.TimeStamp = context.StringValue("DescribeDomainHttpCodeData.HttpCodeData["+ i +"].TimeStamp"); List<DescribeDomainHttpCodeDataResponse.UsageData.CodeProportionData> value = new List<DescribeDomainHttpCodeDataResponse.UsageData.CodeProportionData>(); for (int j = 0; j < context.Length("DescribeDomainHttpCodeData.HttpCodeData["+ i +"].Value.Length"); j++) { DescribeDomainHttpCodeDataResponse.UsageData.CodeProportionData codeProportionData = new DescribeDomainHttpCodeDataResponse.UsageData.CodeProportionData(); codeProportionData.Code = context.StringValue("DescribeDomainHttpCodeData.HttpCodeData["+ i +"].Value["+ j +"].Code"); codeProportionData.Proportion = context.StringValue("DescribeDomainHttpCodeData.HttpCodeData["+ i +"].Value["+ j +"].Proportion"); value.Add(codeProportionData); } usageData.Value = value; httpCodeData.Add(usageData); } describeDomainHttpCodeDataResponse.HttpCodeData = httpCodeData; return describeDomainHttpCodeDataResponse; }