public static DescribeCdnRegionAndIspResponse Unmarshall(UnmarshallerContext context)
{
DescribeCdnRegionAndIspResponse describeCdnRegionAndIspResponse = new DescribeCdnRegionAndIspResponse();
describeCdnRegionAndIspResponse.HttpResponse = context.HttpResponse;
describeCdnRegionAndIspResponse.RequestId = context.StringValue("DescribeCdnRegionAndIsp.RequestId");
List<DescribeCdnRegionAndIspResponse.Region> regions = new List<DescribeCdnRegionAndIspResponse.Region>();
for (int i = 0; i < context.Length("DescribeCdnRegionAndIsp.Regions.Length"); i++) {
DescribeCdnRegionAndIspResponse.Region region = new DescribeCdnRegionAndIspResponse.Region();
region.NameZh = context.StringValue("DescribeCdnRegionAndIsp.Regions["+ i +"].NameZh");
region.NameEn = context.StringValue("DescribeCdnRegionAndIsp.Regions["+ i +"].NameEn");
regions.Add(region);
}
describeCdnRegionAndIspResponse.Regions = regions;
List<DescribeCdnRegionAndIspResponse.Isp> isps = new List<DescribeCdnRegionAndIspResponse.Isp>();
for (int i = 0; i < context.Length("DescribeCdnRegionAndIsp.Isps.Length"); i++) {
DescribeCdnRegionAndIspResponse.Isp isp = new DescribeCdnRegionAndIspResponse.Isp();
isp.NameZh = context.StringValue("DescribeCdnRegionAndIsp.Isps["+ i +"].NameZh");
isp.NameEn = context.StringValue("DescribeCdnRegionAndIsp.Isps["+ i +"].NameEn");
isps.Add(isp);
}
describeCdnRegionAndIspResponse.Isps = isps;
return describeCdnRegionAndIspResponse;
}