Aliyun.Acs.Cdn.Transform.V20141111.DescribeDomainWafDataResponseUnmarshaller.Unmarshall C# (CSharp) Метод

Unmarshall() публичный статический Метод

public static Unmarshall ( UnmarshallerContext context ) : DescribeDomainWafDataResponse
context UnmarshallerContext
Результат Aliyun.Acs.Cdn.Model.V20141111.DescribeDomainWafDataResponse
        public static DescribeDomainWafDataResponse Unmarshall(UnmarshallerContext context)
        {
            DescribeDomainWafDataResponse describeDomainWafDataResponse = new DescribeDomainWafDataResponse();

            describeDomainWafDataResponse.HttpResponse = context.HttpResponse;
            describeDomainWafDataResponse.RequestId = context.StringValue("DescribeDomainWafData.RequestId");
            describeDomainWafDataResponse.DomainName = context.StringValue("DescribeDomainWafData.DomainName");
            describeDomainWafDataResponse.DataInterval = context.StringValue("DescribeDomainWafData.DataInterval");
            describeDomainWafDataResponse.StartTime = context.StringValue("DescribeDomainWafData.StartTime");
            describeDomainWafDataResponse.EndTime = context.StringValue("DescribeDomainWafData.EndTime");

            List<DescribeDomainWafDataResponse.WafDatas> wafDataList = new List<DescribeDomainWafDataResponse.WafDatas>();
            for (int i = 0; i < context.Length("DescribeDomainWafData.WafDataList.Length"); i++) {
                DescribeDomainWafDataResponse.WafDatas wafDatas = new DescribeDomainWafDataResponse.WafDatas();
                wafDatas.TimeStamp = context.StringValue("DescribeDomainWafData.WafDataList["+ i +"].TimeStamp");

                List<string> value = new List<string>();
                for (int j = 0; j < context.Length("DescribeDomainWafData.WafDataList["+ i +"].Value.Length"); j++) {
                    value.Add(context.StringValue("DescribeDomainWafData.WafDataList["+ i +"].Value["+ j +"]"));
                }
                wafDatas.Value = value;

                wafDataList.Add(wafDatas);
            }
            describeDomainWafDataResponse.WafDataList = wafDataList;

            return describeDomainWafDataResponse;
        }
DescribeDomainWafDataResponseUnmarshaller