Class Request
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.network.security.scanner.Request
-
@ApiType("SoftLayer_Network_Security_Scanner_Request") public class Request extends Entity
The SoftLayer_Network_Security_Scanner_Request data type represents a single vulnerability scan request. It provides information on when the scan was created, last updated, and the current status. The status messages are as follows:
*Scan Pending
*Scan Processing
*Scan Complete
*Scan Cancelled
*Generating Report.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Request.Mask
static interface
Request.Service
SoftLayer gives customers the ability to manage vulnerability scans for each of their servers.static interface
Request.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
The account associated with a security scan request.protected Long
accountId
A request's associated customer account identifier.protected boolean
accountIdSpecified
protected GregorianCalendar
createDate
The date and time that the request is created.protected boolean
createDateSpecified
protected Guest
guest
The virtual guest a security scan is run against.protected Long
guestId
Virtual Guest Identification Number for the guest this security scanner request belongs to.protected boolean
guestIdSpecified
protected Hardware
hardware
The hardware a security scan is run against.protected Long
hardwareId
The identifier of the hardware item a scan is run on.protected boolean
hardwareIdSpecified
protected Long
hostId
Identification Number for the host this security scanner request belongs to.protected boolean
hostIdSpecified
protected Long
id
A security scan request's internal identifier.protected boolean
idSpecified
protected String
ipAddress
The IP address that a scan will be performed on.protected boolean
ipAddressSpecified
protected GregorianCalendar
modifyDate
The date and time that the request was last modified.protected boolean
modifyDateSpecified
protected Boolean
requestorOwnedFlag
Flag whether the requestor owns the hardware the scan was run on.protected Status
status
A security scan request's status.protected Long
statusId
A request status identifier.protected boolean
statusIdSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Request()
-
Method Summary
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
account
@ApiProperty protected Account account
The account associated with a security scan request.
-
guest
@ApiProperty protected Guest guest
The virtual guest a security scan is run against.
-
hardware
@ApiProperty protected Hardware hardware
The hardware a security scan is run against.
-
requestorOwnedFlag
@ApiProperty protected Boolean requestorOwnedFlag
Flag whether the requestor owns the hardware the scan was run on. This flag will return for hardware servers only, virtual servers will result in a null return even if you have a request out for them.
-
status
@ApiProperty protected Status status
A security scan request's status.
-
accountId
@ApiProperty(canBeNullOrNotSet=true) protected Long accountId
A request's associated customer account identifier.
-
accountIdSpecified
protected boolean accountIdSpecified
-
createDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar createDate
The date and time that the request is created.
-
createDateSpecified
protected boolean createDateSpecified
-
guestId
@ApiProperty(canBeNullOrNotSet=true) protected Long guestId
Virtual Guest Identification Number for the guest this security scanner request belongs to.
-
guestIdSpecified
protected boolean guestIdSpecified
-
hardwareId
@ApiProperty(canBeNullOrNotSet=true) protected Long hardwareId
The identifier of the hardware item a scan is run on.
-
hardwareIdSpecified
protected boolean hardwareIdSpecified
-
hostId
@ApiProperty(canBeNullOrNotSet=true) protected Long hostId
Identification Number for the host this security scanner request belongs to.
-
hostIdSpecified
protected boolean hostIdSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
A security scan request's internal identifier.
-
idSpecified
protected boolean idSpecified
-
ipAddress
@ApiProperty(canBeNullOrNotSet=true) protected String ipAddress
The IP address that a scan will be performed on.
-
ipAddressSpecified
protected boolean ipAddressSpecified
-
modifyDate
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar modifyDate
The date and time that the request was last modified.
-
modifyDateSpecified
protected boolean modifyDateSpecified
-
statusId
@ApiProperty(canBeNullOrNotSet=true) protected Long statusId
A request status identifier.
-
statusIdSpecified
protected boolean statusIdSpecified
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
getGuest
public Guest getGuest()
-
setGuest
public void setGuest(Guest guest)
-
getHardware
public Hardware getHardware()
-
setHardware
public void setHardware(Hardware hardware)
-
getRequestorOwnedFlag
public Boolean getRequestorOwnedFlag()
-
setRequestorOwnedFlag
public void setRequestorOwnedFlag(Boolean requestorOwnedFlag)
-
getStatus
public Status getStatus()
-
setStatus
public void setStatus(Status status)
-
getAccountId
public Long getAccountId()
-
setAccountId
public void setAccountId(Long accountId)
-
isAccountIdSpecified
public boolean isAccountIdSpecified()
-
unsetAccountId
public void unsetAccountId()
-
getCreateDate
public GregorianCalendar getCreateDate()
-
setCreateDate
public void setCreateDate(GregorianCalendar createDate)
-
isCreateDateSpecified
public boolean isCreateDateSpecified()
-
unsetCreateDate
public void unsetCreateDate()
-
getGuestId
public Long getGuestId()
-
setGuestId
public void setGuestId(Long guestId)
-
isGuestIdSpecified
public boolean isGuestIdSpecified()
-
unsetGuestId
public void unsetGuestId()
-
getHardwareId
public Long getHardwareId()
-
setHardwareId
public void setHardwareId(Long hardwareId)
-
isHardwareIdSpecified
public boolean isHardwareIdSpecified()
-
unsetHardwareId
public void unsetHardwareId()
-
getHostId
public Long getHostId()
-
setHostId
public void setHostId(Long hostId)
-
isHostIdSpecified
public boolean isHostIdSpecified()
-
unsetHostId
public void unsetHostId()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getIpAddress
public String getIpAddress()
-
setIpAddress
public void setIpAddress(String ipAddress)
-
isIpAddressSpecified
public boolean isIpAddressSpecified()
-
unsetIpAddress
public void unsetIpAddress()
-
getModifyDate
public GregorianCalendar getModifyDate()
-
setModifyDate
public void setModifyDate(GregorianCalendar modifyDate)
-
isModifyDateSpecified
public boolean isModifyDateSpecified()
-
unsetModifyDate
public void unsetModifyDate()
-
getStatusId
public Long getStatusId()
-
setStatusId
public void setStatusId(Long statusId)
-
isStatusIdSpecified
public boolean isStatusIdSpecified()
-
unsetStatusId
public void unsetStatusId()
-
asService
public Request.Service asService(ApiClient client)
-
service
public static Request.Service service(ApiClient client)
-
service
public static Request.Service service(ApiClient client, Long id)
-
-