Inheritance: Aliyun.Acs.Core.AcsResponse
コード例 #1
0
        public static PopTestResponse Unmarshall(UnmarshallerContext context)
        {
            PopTestResponse popTestResponse = new PopTestResponse();

            popTestResponse.HttpResponse = context.HttpResponse;
            popTestResponse.RequestId = context.StringValue("PopTest.RequestId");

            List<PopTestResponse.TagInfo> tagInfos = new List<PopTestResponse.TagInfo>();
            for (int i = 0; i < context.Length("PopTest.TagInfos.Length"); i++) {
                PopTestResponse.TagInfo tagInfo = new PopTestResponse.TagInfo();
                tagInfo.TagName = context.StringValue("PopTest.TagInfos["+ i +"].TagName");

                tagInfos.Add(tagInfo);
            }
            popTestResponse.TagInfos = tagInfos;

            return popTestResponse;
        }