Package tenapull.data.entity.host
Class ScanHostInfo
java.lang.Object
- All Implemented Interfaces:
NessusResponse.ResponseChild<ScanHostInfo,ScanHostResponse>
,DbPojo
@Entity(name="ScanHostInfo") public class ScanHostInfo extends NessusResponse.SingleChildTemplate<ScanHostInfo,ScanHostResponse>
Represents the "info" object returned by the Nessus API in /scans/<scan-id>/hosts/<host-id>
-
Field Summary
Fields Modifier and Type Field Description static Dao<ScanHostInfo>
dao
The dao for ScanHostInfo -
Constructor Summary
Constructors Constructor Description ScanHostInfo()
-
Method Summary
Modifier and Type Method Description void
_prepare()
Perform any operations necessary to prepare this pojo for insertion or updating in the databasejava.lang.String
getHostEnd()
Gets host end.HostFqdn
getHostFqdn()
Gets host fqdn.HostIp
getHostIp()
Gets host ip.java.lang.String
getHostStart()
Gets host start.HostNetbiosName
getNetbiosName()
Gets netbios name.OperatingSystem
getOperatingSystem()
Gets operating system.void
setHostEnd(java.lang.String hostEnd)
Sets host end.void
setHostFqdn(HostFqdn hostFqdn)
Sets host fqdn.void
setHostIp(HostIp hostIp)
Sets host ip.void
setHostStart(java.lang.String hostStart)
Sets host start.void
setNetbiosName(HostNetbiosName hostNetbiosName)
Sets netbios name.void
setOperatingSystem(OperatingSystem operatingSystem)
Sets operating system.Methods inherited from class tenapull.data.entity.response.NessusResponse.SingleChildTemplate
__set, equals, getResponse, setResponse
Methods inherited from class tenapull.data.entity.template.NaturalIdPojo
__set, 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
-
dao
The dao for ScanHostInfo
-
-
Constructor Details
-
ScanHostInfo
public ScanHostInfo()
-
-
Method Details
-
_prepare
public void _prepare()Description copied from interface:DbPojo
Perform any operations necessary to prepare this pojo for insertion or updating in the database -
getOperatingSystem
Gets operating system.- Returns:
- the operating system
-
setOperatingSystem
Sets operating system.- Parameters:
operatingSystem
- the operating system
-
getHostIp
Gets host ip.- Returns:
- the host ip
-
setHostIp
Sets host ip.- Parameters:
hostIp
- the host ip
-
getHostFqdn
Gets host fqdn.- Returns:
- the host fqdn
-
setHostFqdn
Sets host fqdn.- Parameters:
hostFqdn
- the host fqdn
-
getNetbiosName
Gets netbios name.- Returns:
- the netbios name
-
setNetbiosName
Sets netbios name.- Parameters:
hostNetbiosName
- the host netbios name
-
getHostStart
public java.lang.String getHostStart()Gets host start.- Returns:
- the host start
-
setHostStart
public void setHostStart(java.lang.String hostStart)Sets host start.- Parameters:
hostStart
- the host start
-
getHostEnd
public java.lang.String getHostEnd()Gets host end.- Returns:
- the host end
-
setHostEnd
public void setHostEnd(java.lang.String hostEnd)Sets host end.- Parameters:
hostEnd
- the host end
-