public static DescribeDomainBpsDataResponse Unmarshall(UnmarshallerContext context)
{
DescribeDomainBpsDataResponse describeDomainBpsDataResponse = new DescribeDomainBpsDataResponse();
describeDomainBpsDataResponse.HttpResponse = context.HttpResponse;
describeDomainBpsDataResponse.RequestId = context.StringValue("DescribeDomainBpsData.RequestId");
describeDomainBpsDataResponse.DomainName = context.StringValue("DescribeDomainBpsData.DomainName");
describeDomainBpsDataResponse.DataInterval = context.StringValue("DescribeDomainBpsData.DataInterval");
describeDomainBpsDataResponse.StartTime = context.StringValue("DescribeDomainBpsData.StartTime");
describeDomainBpsDataResponse.EndTime = context.StringValue("DescribeDomainBpsData.EndTime");
describeDomainBpsDataResponse.LocationNameEn = context.StringValue("DescribeDomainBpsData.LocationNameEn");
describeDomainBpsDataResponse.IspNameEn = context.StringValue("DescribeDomainBpsData.IspNameEn");
describeDomainBpsDataResponse.LocationName = context.StringValue("DescribeDomainBpsData.LocationName");
describeDomainBpsDataResponse.IspName = context.StringValue("DescribeDomainBpsData.IspName");
List<DescribeDomainBpsDataResponse.DataModule> bpsDataPerInterval = new List<DescribeDomainBpsDataResponse.DataModule>();
for (int i = 0; i < context.Length("DescribeDomainBpsData.BpsDataPerInterval.Length"); i++) {
DescribeDomainBpsDataResponse.DataModule dataModule = new DescribeDomainBpsDataResponse.DataModule();
dataModule.TimeStamp = context.StringValue("DescribeDomainBpsData.BpsDataPerInterval["+ i +"].TimeStamp");
dataModule.Value = context.StringValue("DescribeDomainBpsData.BpsDataPerInterval["+ i +"].Value");
dataModule.DomesticValue = context.StringValue("DescribeDomainBpsData.BpsDataPerInterval["+ i +"].DomesticValue");
dataModule.OverseasValue = context.StringValue("DescribeDomainBpsData.BpsDataPerInterval["+ i +"].OverseasValue");
bpsDataPerInterval.Add(dataModule);
}
describeDomainBpsDataResponse.BpsDataPerInterval = bpsDataPerInterval;
List<DescribeDomainBpsDataResponse.DataModule> supplyBpsDatas = new List<DescribeDomainBpsDataResponse.DataModule>();
for (int i = 0; i < context.Length("DescribeDomainBpsData.SupplyBpsDatas.Length"); i++) {
DescribeDomainBpsDataResponse.DataModule dataModule = new DescribeDomainBpsDataResponse.DataModule();
dataModule.TimeStamp = context.StringValue("DescribeDomainBpsData.SupplyBpsDatas["+ i +"].TimeStamp");
dataModule.Value = context.StringValue("DescribeDomainBpsData.SupplyBpsDatas["+ i +"].Value");
supplyBpsDatas.Add(dataModule);
}
describeDomainBpsDataResponse.SupplyBpsDatas = supplyBpsDatas;
return describeDomainBpsDataResponse;
}