Contains the output of GetPipelineDefinition.
상속: Amazon.Runtime.AmazonWebServiceResponse
        /// <summary>
        /// Unmarshaller the response from the service to the response class.
        /// </summary>  
        /// <param name="context"></param>
        /// <returns></returns>
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            GetPipelineDefinitionResponse response = new GetPipelineDefinitionResponse();

            context.Read();
            int targetDepth = context.CurrentDepth;
            while (context.ReadAtDepth(targetDepth))
            {
                if (context.TestExpression("parameterObjects", targetDepth))
                {
                    var unmarshaller = new ListUnmarshaller<ParameterObject, ParameterObjectUnmarshaller>(ParameterObjectUnmarshaller.Instance);
                    response.ParameterObjects = unmarshaller.Unmarshall(context);
                    continue;
                }
                if (context.TestExpression("parameterValues", targetDepth))
                {
                    var unmarshaller = new ListUnmarshaller<ParameterValue, ParameterValueUnmarshaller>(ParameterValueUnmarshaller.Instance);
                    response.ParameterValues = unmarshaller.Unmarshall(context);
                    continue;
                }
                if (context.TestExpression("pipelineObjects", targetDepth))
                {
                    var unmarshaller = new ListUnmarshaller<PipelineObject, PipelineObjectUnmarshaller>(PipelineObjectUnmarshaller.Instance);
                    response.PipelineObjects = unmarshaller.Unmarshall(context);
                    continue;
                }
            }

            return response;
        }
 public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
 {
   GetPipelineDefinitionResponse response = new GetPipelineDefinitionResponse();          
   
   context.Read();
   
   UnmarshallResult(context,response);
   return response;
 }
        public override AmazonWebServiceResponse Unmarshall(JsonUnmarshallerContext context)
        {
            GetPipelineDefinitionResponse response = new GetPipelineDefinitionResponse();

              context.Read();

              response.GetPipelineDefinitionResult = GetPipelineDefinitionResultUnmarshaller.GetInstance().Unmarshall(context);

              return response;
        }
       private static void UnmarshallResult(JsonUnmarshallerContext context,GetPipelineDefinitionResponse response)
       {
         
           int originalDepth = context.CurrentDepth;
           int targetDepth = originalDepth + 1;
           while (context.Read())
           {
             
             if (context.TestExpression("pipelineObjects", targetDepth))
             {
               context.Read();
               response.PipelineObjects = new List<PipelineObject>();
                       PipelineObjectUnmarshaller unmarshaller = PipelineObjectUnmarshaller.GetInstance();
               while (context.Read())
               {
                 JsonToken token = context.CurrentTokenType;                
                 if (token == JsonToken.ArrayStart)
                 {
                   continue;
                 }
                 if (token == JsonToken.ArrayEnd)
                 {
                   break;
                 }
                  response.PipelineObjects.Add(unmarshaller.Unmarshall(context));
               }
               continue;
             }
 
               if (context.CurrentDepth <= originalDepth)
               {                   
                   return;
               }
           }
                       
           return;
       }