public override AmazonWebServiceResponse Unmarshall(XmlUnmarshallerContext context) { ListGroupsForUserResponse response = new ListGroupsForUserResponse(); while (context.Read()) { if (context.IsStartElement) { if (context.TestExpression("ListGroupsForUserResult", 2)) { response.ListGroupsForUserResult = ListGroupsForUserResultUnmarshaller.GetInstance().Unmarshall(context); continue; } if (context.TestExpression("ResponseMetadata", 2)) { response.ResponseMetadata = ResponseMetadataUnmarshaller.GetInstance().Unmarshall(context); } } } return(response); }