// Path: src/main/java/org/rapid7/nexpose/api/APIException.java
// @SuppressWarnings("serial")
// public class APIException extends Exception
// {
//    /////////////////////////////////////////////////////////////////////////
//    // Public methods
//    /////////////////////////////////////////////////////////////////////////
// 
//    /**
//     * Constructs a new {@link APIException} with the given error message.
//     *
//     * @param msg the message to create the {@link Exception} with.
//     */
//    public APIException(String msg)
//    {
//       super(msg);
//    }
// 
//    /**
//     * Constructs a new {@link APIException} with the given error message and root
//     * cause.
//     *
//     * @param msg the message to create the exception with.
//     * @param cause the cause of the {@link Exception}
//     */
//    public APIException(String msg, Throwable cause)
//    {
//       super(msg, cause);
//    }
// }


import org.rapid7.nexpose.api.APIException;
import org.rapid7.nexpose.api.BaseElement;
import org.w3c.dom.Element;
    * Retrieves the site count of the user.
    * @return the m_siteCount attribute which represents the count of sites associated with the user.
    */
   public int getSiteCount()
   {
      return m_siteCount;
   }

   /**
    * Retrieves the group count of the user.
    * @return the m_groupCount attribute which represents the count of groups associated with the user.
    */
   public int getGroupCount()
   {
      return m_groupCount;
   }

   /**
    * Creates a summary out of an element SiteSummary
    *
    * @throws APIException When there is a problem parsing the element's attributes.
    */
   public UserSummary(Element siteSummaryElement) throws APIException
   {
      setResponseElement(siteSummaryElement);
      m_id = getInt("id");
      m_username = getString("username");
      m_authSource = getString("authSource");
      m_authModule = getString("authModule");
      m_username = getString("userName");
// Path: src/main/java/org/rapid7/nexpose/api/APIException.java
// @SuppressWarnings("serial")
// public class APIException extends Exception
// {
//    /////////////////////////////////////////////////////////////////////////
//    // Public methods
//    /////////////////////////////////////////////////////////////////////////
// 
//    /**
//     * Constructs a new {@link APIException} with the given error message.
//     *
//     * @param msg the message to create the {@link Exception} with.
//     */
//    public APIException(String msg)
//    {
//       super(msg);
//    }
// 
//    /**
//     * Constructs a new {@link APIException} with the given error message and root
//     * cause.
//     *
//     * @param msg the message to create the exception with.
//     * @param cause the cause of the {@link Exception}
//     */
//    public APIException(String msg, Throwable cause)
//    {
//       super(msg, cause);
//    }
// }


// Path: src/main/java/org/rapid7/nexpose/api/domain/UserSummary.java
import org.rapid7.nexpose.api.APIException;
import org.rapid7.nexpose.api.BaseElement;
import org.w3c.dom.Element;

    * Retrieves the site count of the user.
    * @return the m_siteCount attribute which represents the count of sites associated with the user.
    */
   public int getSiteCount()
   {
      return m_siteCount;
   }

   /**
    * Retrieves the group count of the user.
    * @return the m_groupCount attribute which represents the count of groups associated with the user.
    */
   public int getGroupCount()
   {
      return m_groupCount;
   }

   /**
    * Creates a summary out of an element SiteSummary
    *
    * @throws APIException When there is a problem parsing the element's attributes.
    */
   public UserSummary(Element siteSummaryElement) throws APIException
   {
      setResponseElement(siteSummaryElement);
      m_id = getInt("id");
      m_username = getString("username");
      m_authSource = getString("authSource");
      m_authModule = getString("authModule");
      m_username = getString("userName");
      m_fullname = getString("fullName");