Amazon.ElastiCache.Model.Internal.MarshallTransformations.ResetCacheParameterGroupResponseUnmarshaller.Unmarshall C# (CSharp) Method

Unmarshall() public method

public Unmarshall ( Amazon.Runtime.Internal.Transform.XmlUnmarshallerContext context ) : AmazonWebServiceResponse
context Amazon.Runtime.Internal.Transform.XmlUnmarshallerContext
return Amazon.Runtime.AmazonWebServiceResponse
        public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) 
        {   
            ResetCacheParameterGroupResponse response = new ResetCacheParameterGroupResponse();
            
            while (context.Read())
            {
                if (context.IsStartElement)
                {                    
                    if(context.TestExpression("ResetCacheParameterGroupResult", 2))
                    {
                        UnmarshallResult(context,response);                        
                        continue;
                    }
                    
                    if (context.TestExpression("ResponseMetadata", 2))
                    {
                        response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context);
                    }
                }
            }
                 
                        
            return response;
        }