Class Employee
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.account.attachment.Employee
-
@ApiType("SoftLayer_Account_Attachment_Employee") public class Employee extends Entity
A SoftLayer_Account_Attachment_Employee models an assignment of a single [[SoftLayer_User_Employee|employee]] with a single [[SoftLayer_Account|account]]- See Also:
- SoftLayer_Account_Attachment_Employee
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Employee.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
A [[SoftLayer_Account|account]] that is assigned to a [[SoftLayer_User_Employee|employee]].protected Employee
employee
A [[SoftLayer_User_Employee|employee]] that is assigned to a [[SoftLayer_Account|account]].protected Role
employeeRole
A [[SoftLayer_User_Employee|employee]] that is assigned to a [[SoftLayer_Account|account]].protected Long
roleId
Role identifier.protected boolean
roleIdSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Employee()
-
Method Summary
Modifier and Type Method Description Account
getAccount()
Employee
getEmployee()
Role
getEmployeeRole()
Long
getRoleId()
boolean
isRoleIdSpecified()
void
setAccount(Account account)
void
setEmployee(Employee employee)
void
setEmployeeRole(Role employeeRole)
void
setRoleId(Long roleId)
void
unsetRoleId()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
account
@ApiProperty protected Account account
A [[SoftLayer_Account|account]] that is assigned to a [[SoftLayer_User_Employee|employee]].
-
employee
@ApiProperty protected Employee employee
A [[SoftLayer_User_Employee|employee]] that is assigned to a [[SoftLayer_Account|account]].
-
employeeRole
@ApiProperty protected Role employeeRole
A [[SoftLayer_User_Employee|employee]] that is assigned to a [[SoftLayer_Account|account]].
-
roleId
@ApiProperty(canBeNullOrNotSet=true) protected Long roleId
Role identifier.
-
roleIdSpecified
protected boolean roleIdSpecified
-
-
Method Detail
-
getAccount
public Account getAccount()
-
setAccount
public void setAccount(Account account)
-
getEmployee
public Employee getEmployee()
-
setEmployee
public void setEmployee(Employee employee)
-
getEmployeeRole
public Role getEmployeeRole()
-
setEmployeeRole
public void setEmployeeRole(Role employeeRole)
-
getRoleId
public Long getRoleId()
-
setRoleId
public void setRoleId(Long roleId)
-
isRoleIdSpecified
public boolean isRoleIdSpecified()
-
unsetRoleId
public void unsetRoleId()
-
-