Package tenapull.data.entity.response
Class IndexResponse
java.lang.Object
tenapull.data.entity.template.ExtensibleJsonPojo
tenapull.data.entity.template.GeneratedIdPojo
tenapull.data.entity.response.NessusResponseWithTimestamp
tenapull.data.entity.response.IndexResponse
- All Implemented Interfaces:
NessusResponse
,DbPojo
@Entity(name="IndexResponse") public class IndexResponse extends NessusResponseWithTimestamp
The index response represents Nessus API responses at the root of the API
-
Nested Class Summary
Nested classes/interfaces inherited from interface tenapull.data.entity.response.NessusResponse
NessusResponse.MultiChildTemplate<POJO extends NessusResponse.MultiChildTemplate<POJO,R>,R extends NessusResponse>, NessusResponse.ResponseChild<POJO extends NessusResponse.ResponseChild<POJO,R>,R extends NessusResponse>, NessusResponse.SingleChildTemplate<POJO extends NessusResponse.SingleChildTemplate<POJO,R>,R extends NessusResponse>
-
Field Summary
Fields Modifier and Type Field Description static Dao<IndexResponse>
dao
static org.apache.logging.log4j.Logger
logger
-
Constructor Summary
Constructors Constructor Description IndexResponse()
-
Method Summary
Modifier and Type Method Description void
_prepare()
Perform any operations necessary to prepare this pojo for insertion or updating in the databasejava.util.List<Folder>
getFolders()
java.util.List<Scan>
getScans()
java.lang.String
getUrlPath()
Gets url path for the Nessus APIstatic java.lang.String
pathFor()
void
setFolders(java.util.List<Folder> folders)
void
setScans(java.util.List<Scan> scans)
Methods inherited from class tenapull.data.entity.response.NessusResponseWithTimestamp
getTimestamp, setTimestamp
Methods inherited from class tenapull.data.entity.template.GeneratedIdPojo
__set, equals, getId, hashCode, setId
Methods inherited from class tenapull.data.entity.template.ExtensibleJsonPojo
__prepare, getExtraJson, getExtraJson, getExtraJsonMap, putExtraJson, setExtraJson, toJsonNode, toJsonString, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface tenapull.data.entity.template.DbPojo
getId, setId, toJsonNode, toJsonString
-
Field Details
-
Constructor Details
-
IndexResponse
public IndexResponse()
-
-
Method Details
-
pathFor
public static java.lang.String pathFor() -
getFolders
-
setFolders
-
getScans
-
setScans
-
getUrlPath
public java.lang.String getUrlPath()Description copied from interface:NessusResponse
Gets url path for the Nessus API- Specified by:
getUrlPath
in interfaceNessusResponse
- Specified by:
getUrlPath
in classNessusResponseWithTimestamp
- Returns:
- the url path
-
_prepare
public void _prepare()Description copied from interface:DbPojo
Perform any operations necessary to prepare this pojo for insertion or updating in the database
-