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