public static DescribeSubDomainRecordsResponse Unmarshall(UnmarshallerContext context) { DescribeSubDomainRecordsResponse describeSubDomainRecordsResponse = new DescribeSubDomainRecordsResponse(); describeSubDomainRecordsResponse.HttpResponse = context.HttpResponse; describeSubDomainRecordsResponse.RequestId = context.StringValue("DescribeSubDomainRecords.RequestId"); describeSubDomainRecordsResponse.TotalCount = context.LongValue("DescribeSubDomainRecords.TotalCount"); describeSubDomainRecordsResponse.PageNumber = context.LongValue("DescribeSubDomainRecords.PageNumber"); describeSubDomainRecordsResponse.PageSize = context.LongValue("DescribeSubDomainRecords.PageSize"); List<DescribeSubDomainRecordsResponse.Record> domainRecords = new List<DescribeSubDomainRecordsResponse.Record>(); for (int i = 0; i < context.Length("DescribeSubDomainRecords.DomainRecords.Length"); i++) { DescribeSubDomainRecordsResponse.Record record = new DescribeSubDomainRecordsResponse.Record(); record.DomainName = context.StringValue("DescribeSubDomainRecords.DomainRecords["+ i +"].DomainName"); record.RecordId = context.StringValue("DescribeSubDomainRecords.DomainRecords["+ i +"].RecordId"); record.RR = context.StringValue("DescribeSubDomainRecords.DomainRecords["+ i +"].RR"); record.Type = context.StringValue("DescribeSubDomainRecords.DomainRecords["+ i +"].Type"); record.Value = context.StringValue("DescribeSubDomainRecords.DomainRecords["+ i +"].Value"); record.TTL = context.LongValue("DescribeSubDomainRecords.DomainRecords["+ i +"].TTL"); record.Priority = context.LongValue("DescribeSubDomainRecords.DomainRecords["+ i +"].Priority"); record.Line = context.StringValue("DescribeSubDomainRecords.DomainRecords["+ i +"].Line"); record.Status = context.StringValue("DescribeSubDomainRecords.DomainRecords["+ i +"].Status"); record.Locked = context.BooleanValue("DescribeSubDomainRecords.DomainRecords["+ i +"].Locked"); record.Weight = context.IntegerValue("DescribeSubDomainRecords.DomainRecords["+ i +"].Weight"); domainRecords.Add(record); } describeSubDomainRecordsResponse.DomainRecords = domainRecords; return describeSubDomainRecordsResponse; }