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