Class Role
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.user.permission.Role
@ApiType("SoftLayer_User_Permission_Role") public class Role extends Entity
The SoftLayer_User_Permission_Role data type contains local attributes to identify and describe the permission roles that have been created within IMS. These includes a name, description, and account id. Permission groups are defined specifically for a single [[SoftLayer_Account]].
It also contains relational attributes that indicate what SoftLayer_User_Permission_Group objects are linked to a particular role, and the SoftLayer_User_Customer objects assigned to the role.
It also contains relational attributes that indicate what SoftLayer_User_Permission_Group objects are linked to a particular role, and the SoftLayer_User_Customer objects assigned to the role.
- See Also:
- SoftLayer_User_Permission_Role
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Role.Mask
static interface
Role.Service
The SoftLayer_User_Permission_Role class is one of several classes that make up the customer permission system.static interface
Role.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Account
account
protected Long
accountId
Id of a [[SoftLayer_Account]] to which this role belongs.protected boolean
accountIdSpecified
protected Long
actionCount
A count ofprotected List<Action>
actions
protected GregorianCalendar
createDate
The date the permission role record was created.protected boolean
createDateSpecified
protected String
description
The description of the permission role.protected boolean
descriptionSpecified
protected Long
groupCount
A count ofprotected List<Group>
groups
protected Long
id
A permission roles internal identifying number.protected boolean
idSpecified
protected GregorianCalendar
modifyDate
The date the permission role record was last modified.protected boolean
modifyDateSpecified
protected String
name
The name of the permission role.protected boolean
nameSpecified
protected Long
newUserDefaultFlag
A flag showing if new users should be automatically added to this role.protected boolean
newUserDefaultFlagSpecified
protected Long
systemFlag
A flag showing if the permission role was created by our internal system for a single user.protected boolean
systemFlagSpecified
protected Long
userCount
A count ofprotected List<Customer>
users
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
Constructor Summary
Constructors Constructor Description Role()
-
Method Summary
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
Field Details
-
account
-
actions
-
groups
-
users
-
accountId
Id of a [[SoftLayer_Account]] to which this role belongs. -
accountIdSpecified
protected boolean accountIdSpecified -
createDate
The date the permission role record was created. -
createDateSpecified
protected boolean createDateSpecified -
description
The description of the permission role. -
descriptionSpecified
protected boolean descriptionSpecified -
id
A permission roles internal identifying number. -
idSpecified
protected boolean idSpecified -
modifyDate
The date the permission role record was last modified. -
modifyDateSpecified
protected boolean modifyDateSpecified -
name
The name of the permission role. -
nameSpecified
protected boolean nameSpecified -
newUserDefaultFlag
A flag showing if new users should be automatically added to this role. -
newUserDefaultFlagSpecified
protected boolean newUserDefaultFlagSpecified -
systemFlag
A flag showing if the permission role was created by our internal system for a single user. If this flag is set, only a single user can be assigned to this permission role and it can not be deleted. -
systemFlagSpecified
protected boolean systemFlagSpecified -
actionCount
A count of -
groupCount
A count of -
userCount
A count of
-
-
Constructor Details
-
Role
public Role()
-
-
Method Details
-
getAccount
-
setAccount
-
getActions
-
getGroups
-
getUsers
-
getAccountId
-
setAccountId
-
isAccountIdSpecified
public boolean isAccountIdSpecified() -
unsetAccountId
public void unsetAccountId() -
getCreateDate
-
setCreateDate
-
isCreateDateSpecified
public boolean isCreateDateSpecified() -
unsetCreateDate
public void unsetCreateDate() -
getDescription
-
setDescription
-
isDescriptionSpecified
public boolean isDescriptionSpecified() -
unsetDescription
public void unsetDescription() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getModifyDate
-
setModifyDate
-
isModifyDateSpecified
public boolean isModifyDateSpecified() -
unsetModifyDate
public void unsetModifyDate() -
getName
-
setName
-
isNameSpecified
public boolean isNameSpecified() -
unsetName
public void unsetName() -
getNewUserDefaultFlag
-
setNewUserDefaultFlag
-
isNewUserDefaultFlagSpecified
public boolean isNewUserDefaultFlagSpecified() -
unsetNewUserDefaultFlag
public void unsetNewUserDefaultFlag() -
getSystemFlag
-
setSystemFlag
-
isSystemFlagSpecified
public boolean isSystemFlagSpecified() -
unsetSystemFlag
public void unsetSystemFlag() -
getActionCount
-
setActionCount
-
getGroupCount
-
setGroupCount
-
getUserCount
-
setUserCount
-
asService
-
service
-
service
-