// 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;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import java.util.ArrayList;
import java.util.List;
/***************************************************************************
 * COPYRIGHT (C) 2015, Rapid7 LLC, Boston, MA, USA.
 * All rights reserved. This material contains unpublished, copyrighted
 * work including confidential and proprietary information of Rapid7.
 **************************************************************************/

package org.rapid7.nexpose.api.domain;


/**
 * Scan summary object
 */
public class ScanSummary extends BaseElement
{
// 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/ScanSummary.java
import org.rapid7.nexpose.api.APIException;
import org.rapid7.nexpose.api.BaseElement;
import org.w3c.dom.Element;
import org.w3c.dom.Node;
import org.w3c.dom.NodeList;
import java.util.ArrayList;
import java.util.List;

/***************************************************************************
 * COPYRIGHT (C) 2015, Rapid7 LLC, Boston, MA, USA.
 * All rights reserved. This material contains unpublished, copyrighted
 * work including confidential and proprietary information of Rapid7.
 **************************************************************************/

package org.rapid7.nexpose.api.domain;


/**
 * Scan summary object
 */
public class ScanSummary extends BaseElement
{
   public ScanSummary(Element element) throws APIException