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>daostatic org.apache.logging.log4j.Loggerlogger -
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.StringgetUrlPath()Gets url path for the Nessus APIstatic java.lang.StringpathFor()voidsetFolders(java.util.List<Folder> folders)voidsetScans(java.util.List<Scan> scans)Methods inherited from class tenapull.data.entity.response.NessusResponseWithTimestamp
getTimestamp, setTimestampMethods inherited from class tenapull.data.entity.template.GeneratedIdPojo
__set, equals, getId, hashCode, setIdMethods inherited from class tenapull.data.entity.template.ExtensibleJsonPojo
__prepare, getExtraJson, getExtraJson, getExtraJsonMap, putExtraJson, setExtraJson, toJsonNode, toJsonString, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods 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:NessusResponseGets url path for the Nessus API- Specified by:
getUrlPathin interfaceNessusResponse- Specified by:
getUrlPathin classNessusResponseWithTimestamp- Returns:
- the url path
-
_prepare
public void _prepare()Description copied from interface:DbPojoPerform any operations necessary to prepare this pojo for insertion or updating in the database
-