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