public static DescribeDomainLogsResponse Unmarshall(UnmarshallerContext context) { DescribeDomainLogsResponse describeDomainLogsResponse = new DescribeDomainLogsResponse(); describeDomainLogsResponse.HttpResponse = context.HttpResponse; describeDomainLogsResponse.RequestId = context.StringValue("DescribeDomainLogs.RequestId"); describeDomainLogsResponse.TotalCount = context.LongValue("DescribeDomainLogs.TotalCount"); describeDomainLogsResponse.PageNumber = context.LongValue("DescribeDomainLogs.PageNumber"); describeDomainLogsResponse.PageSize = context.LongValue("DescribeDomainLogs.PageSize"); List<DescribeDomainLogsResponse.DomainLog> domainLogs = new List<DescribeDomainLogsResponse.DomainLog>(); for (int i = 0; i < context.Length("DescribeDomainLogs.DomainLogs.Length"); i++) { DescribeDomainLogsResponse.DomainLog domainLog = new DescribeDomainLogsResponse.DomainLog(); domainLog.ActionTime = context.StringValue("DescribeDomainLogs.DomainLogs["+ i +"].ActionTime"); domainLog.DomainName = context.StringValue("DescribeDomainLogs.DomainLogs["+ i +"].DomainName"); domainLog.Action = context.StringValue("DescribeDomainLogs.DomainLogs["+ i +"].Action"); domainLog.Message = context.StringValue("DescribeDomainLogs.DomainLogs["+ i +"].Message"); domainLog.ClientIp = context.StringValue("DescribeDomainLogs.DomainLogs["+ i +"].ClientIp"); domainLogs.Add(domainLog); } describeDomainLogsResponse.DomainLogs = domainLogs; return describeDomainLogsResponse; }