Aliyun.Acs.Push.Transform.V20150827.PopTestResponseUnmarshaller.Unmarshall C# (CSharp) Method

Unmarshall() public static method

public static Unmarshall ( UnmarshallerContext context ) : PopTestResponse
context UnmarshallerContext
return Aliyun.Acs.Push.Model.V20150827.PopTestResponse
        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;
        }
PopTestResponseUnmarshaller