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