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