public static DescribeCacheEngineVersionsResultUnmarshaller GetInstance() { if (instance == null) { instance = new DescribeCacheEngineVersionsResultUnmarshaller(); } return(instance); }
public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) { DescribeCacheEngineVersionsResponse response = new DescribeCacheEngineVersionsResponse(); while (context.Read()) { if (context.IsStartElement) { if (context.TestExpression("DescribeCacheEngineVersionsResult", 2)) { response.DescribeCacheEngineVersionsResult = DescribeCacheEngineVersionsResultUnmarshaller.GetInstance().Unmarshall(context); continue; } if (context.TestExpression("ResponseMetadata", 2)) { response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context); } } } return(response); }