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