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

Unmarshall() public static method

public static Unmarshall ( UnmarshallerContext context ) : QueryTagsResponse
context UnmarshallerContext
return Aliyun.Acs.Push.Model.V20150827.QueryTagsResponse
        public static QueryTagsResponse Unmarshall(UnmarshallerContext context)
        {
            QueryTagsResponse queryTagsResponse = new QueryTagsResponse();

            queryTagsResponse.HttpResponse = context.HttpResponse;
            queryTagsResponse.RequestId = context.StringValue("QueryTags.RequestId");

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

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

            return queryTagsResponse;
        }
QueryTagsResponseUnmarshaller