public static ListTagsResponse Unmarshall(UnmarshallerContext context)
        {
            ListTagsResponse listTagsResponse = new ListTagsResponse();

            listTagsResponse.HttpResponse = context.HttpResponse;
            listTagsResponse.RequestId = context.StringValue("ListTags.RequestId");

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

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

            return listTagsResponse;
        }
Ejemplo n.º 2
0
        public static ListTagsResponse Unmarshall(UnmarshallerContext context)
        {
            ListTagsResponse listTagsResponse = new ListTagsResponse();

            listTagsResponse.HttpResponse = context.HttpResponse;
            listTagsResponse.RequestId    = context.StringValue("ListTags.RequestId");

            List <ListTagsResponse.TagInfo> tagInfos = new List <ListTagsResponse.TagInfo>();

            for (int i = 0; i < context.Length("ListTags.TagInfos.Length"); i++)
            {
                ListTagsResponse.TagInfo tagInfo = new ListTagsResponse.TagInfo();
                tagInfo.TagName = context.StringValue("ListTags.TagInfos[" + i + "].TagName");

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

            return(listTagsResponse);
        }