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>daoThe 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.StringgetHostEnd()Gets host end.HostFqdngetHostFqdn()Gets host fqdn.HostIpgetHostIp()Gets host ip.java.lang.StringgetHostStart()Gets host start.HostNetbiosNamegetNetbiosName()Gets netbios name.OperatingSystemgetOperatingSystem()Gets operating system.voidsetHostEnd(java.lang.String hostEnd)Sets host end.voidsetHostFqdn(HostFqdn hostFqdn)Sets host fqdn.voidsetHostIp(HostIp hostIp)Sets host ip.voidsetHostStart(java.lang.String hostStart)Sets host start.voidsetNetbiosName(HostNetbiosName hostNetbiosName)Sets netbios name.voidsetOperatingSystem(OperatingSystem operatingSystem)Sets operating system.Methods inherited from class tenapull.data.entity.response.NessusResponse.SingleChildTemplate
__set, equals, getResponse, setResponseMethods inherited from class tenapull.data.entity.template.NaturalIdPojo
__set, 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
-
dao
The dao for ScanHostInfo
-
-
Constructor Details
-
ScanHostInfo
public ScanHostInfo()
-
-
Method Details
-
_prepare
public void _prepare()Description copied from interface:DbPojoPerform 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
-