Class Log
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.user.access.facility.Log
-
@ApiType("SoftLayer_User_Access_Facility_Log") public class Log extends Entity
This class represents a login/logout sheet for facility visitors.- See Also:
- SoftLayer_User_Access_Facility_Log
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Log.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
This is the account associated with the log entry.protected Long
accountId
This is the account associated with a log record.protected boolean
accountIdSpecified
protected Location
datacenter
This is the location of the facility.protected String
description
This is a short description of why the person is at the location.protected boolean
descriptionSpecified
protected Hardware
hardware
This is the colocation hardware that was visited.protected Long
hardwareId
protected boolean
hardwareIdSpecified
protected Long
id
protected boolean
idSpecified
protected Long
locationId
protected boolean
locationIdSpecified
protected Type
logType
This is the type of person entering the facility.protected GregorianCalendar
timeIn
This is the date and time the person arrived.protected boolean
timeInSpecified
protected GregorianCalendar
timeOut
protected boolean
timeOutSpecified
protected Entity
visitor
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Log()
-
Method Summary
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
account
@ApiProperty protected Account account
This is the account associated with the log entry. For users under a customer's account, it is the customer's account. For contractors and others visiting a colocation area, it is the account associated with the area they visited.
-
datacenter
@ApiProperty protected Location datacenter
This is the location of the facility.
-
hardware
@ApiProperty protected Hardware hardware
This is the colocation hardware that was visited.
-
logType
@ApiProperty protected Type logType
This is the type of person entering the facility.
-
visitor
@ApiProperty protected Entity visitor
-
accountId
@ApiProperty(canBeNullOrNotSet=true) protected Long accountId
This is the account associated with a log record. For a customer logging into a datacenter, this is the customer's account. For a contractor or any other guest logging into a customer's cabinet or colocation cage, this is the customer's account.
-
accountIdSpecified
protected boolean accountIdSpecified
-
description
@ApiProperty(canBeNullOrNotSet=true) protected String description
This is a short description of why the person is at the location.
-
descriptionSpecified
protected boolean descriptionSpecified
-
hardwareId
@ApiProperty(canBeNullOrNotSet=true) protected Long hardwareId
-
hardwareIdSpecified
protected boolean hardwareIdSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
-
idSpecified
protected boolean idSpecified
-
locationId
@ApiProperty(canBeNullOrNotSet=true) protected Long locationId
-
locationIdSpecified
protected boolean locationIdSpecified
-
timeIn
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar timeIn
This is the date and time the person arrived.
-
timeInSpecified
protected boolean timeInSpecified
-
timeOut
@ApiProperty(canBeNullOrNotSet=true) protected GregorianCalendar timeOut
-
timeOutSpecified
protected boolean timeOutSpecified
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
getDatacenter
public Location getDatacenter()
-
setDatacenter
public void setDatacenter(Location datacenter)
-
getHardware
public Hardware getHardware()
-
setHardware
public void setHardware(Hardware hardware)
-
getLogType
public Type getLogType()
-
setLogType
public void setLogType(Type logType)
-
getVisitor
public Entity getVisitor()
-
setVisitor
public void setVisitor(Entity visitor)
-
getAccountId
public Long getAccountId()
-
setAccountId
public void setAccountId(Long accountId)
-
isAccountIdSpecified
public boolean isAccountIdSpecified()
-
unsetAccountId
public void unsetAccountId()
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
isDescriptionSpecified
public boolean isDescriptionSpecified()
-
unsetDescription
public void unsetDescription()
-
getHardwareId
public Long getHardwareId()
-
setHardwareId
public void setHardwareId(Long hardwareId)
-
isHardwareIdSpecified
public boolean isHardwareIdSpecified()
-
unsetHardwareId
public void unsetHardwareId()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getLocationId
public Long getLocationId()
-
setLocationId
public void setLocationId(Long locationId)
-
isLocationIdSpecified
public boolean isLocationIdSpecified()
-
unsetLocationId
public void unsetLocationId()
-
getTimeIn
public GregorianCalendar getTimeIn()
-
setTimeIn
public void setTimeIn(GregorianCalendar timeIn)
-
isTimeInSpecified
public boolean isTimeInSpecified()
-
unsetTimeIn
public void unsetTimeIn()
-
getTimeOut
public GregorianCalendar getTimeOut()
-
setTimeOut
public void setTimeOut(GregorianCalendar timeOut)
-
isTimeOutSpecified
public boolean isTimeOutSpecified()
-
unsetTimeOut
public void unsetTimeOut()
-
-