public static DescribeEventsResultUnmarshaller GetInstance() { if (instance == null) { instance = new DescribeEventsResultUnmarshaller(); } return(instance); }
public DescribeEventsResponse Unmarshall(UnmarshallerContext context) { DescribeEventsResponse response = new DescribeEventsResponse(); while (context.Read()) { if (context.IsStartElement) { if (context.TestExpression("DescribeEventsResult", 2)) { response.DescribeEventsResult = DescribeEventsResultUnmarshaller.GetInstance().Unmarshall(context); continue; } if (context.TestExpression("ResponseMetadata", 2)) { response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context); } } } return(response); }