public static QueryPipelineListResponse Unmarshall(UnmarshallerContext context) { QueryPipelineListResponse queryPipelineListResponse = new QueryPipelineListResponse(); queryPipelineListResponse.HttpResponse = context.HttpResponse; queryPipelineListResponse.RequestId = context.StringValue("QueryPipelineList.RequestId"); List<string> nonExistPids = new List<string>(); for (int i = 0; i < context.Length("QueryPipelineList.NonExistPids.Length"); i++) { nonExistPids.Add(context.StringValue("QueryPipelineList.NonExistPids["+ i +"]")); } queryPipelineListResponse.NonExistPids = nonExistPids; List<QueryPipelineListResponse.Pipeline> pipelineList = new List<QueryPipelineListResponse.Pipeline>(); for (int i = 0; i < context.Length("QueryPipelineList.PipelineList.Length"); i++) { QueryPipelineListResponse.Pipeline pipeline = new QueryPipelineListResponse.Pipeline(); pipeline.Id = context.StringValue("QueryPipelineList.PipelineList["+ i +"].Id"); pipeline.Name = context.StringValue("QueryPipelineList.PipelineList["+ i +"].Name"); pipeline.State = context.StringValue("QueryPipelineList.PipelineList["+ i +"].State"); pipeline.Speed = context.StringValue("QueryPipelineList.PipelineList["+ i +"].Speed"); pipeline.Role = context.StringValue("QueryPipelineList.PipelineList["+ i +"].Role"); QueryPipelineListResponse.Pipeline.NotifyConfig_ notifyConfig = new QueryPipelineListResponse.Pipeline.NotifyConfig_(); notifyConfig.Topic = context.StringValue("QueryPipelineList.PipelineList["+ i +"].NotifyConfig.Topic"); notifyConfig.QueueName = context.StringValue("QueryPipelineList.PipelineList["+ i +"].NotifyConfig.QueueName"); pipeline.NotifyConfig = notifyConfig; pipelineList.Add(pipeline); } queryPipelineListResponse.PipelineList = pipelineList; return queryPipelineListResponse; }