Class Type
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.user.permission.group.Type
@ApiType("SoftLayer_User_Permission_Group_Type") public class Type extends Entity
The SoftLayer_User_Permission_Group_Type class is one of several classes that make up the customer permission system. This class defines the valid group types. The SYSTEM group type is reserved for internal use.
It is a role-based system that includes defined actions which can be "grouped" together using a SoftLayer_User_Permission_Group class. These groups of actions are then used to define roles, and the roles are assigned to users.
When a [[SoftLayer_User_Customer]] is created, a SoftLayer_User_Permission_Group and SoftLayer_User_Permission_Role is created specifically for the user with a group type of SYSTEM. When the UI is used to alter the permissions of a customer user, the actions are added or removed from this group. The api can not be used to alter the permissions in this group. If an account wants to create their own unique permission groups and roles, the UI can not be used to manage them.
It is a role-based system that includes defined actions which can be "grouped" together using a SoftLayer_User_Permission_Group class. These groups of actions are then used to define roles, and the roles are assigned to users.
When a [[SoftLayer_User_Customer]] is created, a SoftLayer_User_Permission_Group and SoftLayer_User_Permission_Role is created specifically for the user with a group type of SYSTEM. When the UI is used to alter the permissions of a customer user, the actions are added or removed from this group. The api can not be used to alter the permissions in this group. If an account wants to create their own unique permission groups and roles, the UI can not be used to manage them.
- See Also:
- SoftLayer_User_Permission_Group_Type
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Type.Mask
static interface
Type.Service
static interface
Type.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected Long
groupCount
A count of the groups that are of this type.protected List<Group>
groups
The groups that are of this type.protected Long
id
protected boolean
idSpecified
protected String
keyName
protected boolean
keyNameSpecified
protected String
name
protected boolean
nameSpecified
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
Constructor Summary
Constructors Constructor Description Type()
-
Method Summary
Modifier and Type Method Description Type.Service
asService(ApiClient client)
Long
getGroupCount()
List<Group>
getGroups()
Long
getId()
String
getKeyName()
String
getName()
boolean
isIdSpecified()
boolean
isKeyNameSpecified()
boolean
isNameSpecified()
static Type.Service
service(ApiClient client)
static Type.Service
service(ApiClient client, Long id)
void
setGroupCount(Long groupCount)
void
setId(Long id)
void
setKeyName(String keyName)
void
setName(String name)
void
unsetId()
void
unsetKeyName()
void
unsetName()
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
Field Details
-
groups
The groups that are of this type. -
id
-
idSpecified
protected boolean idSpecified -
keyName
-
keyNameSpecified
protected boolean keyNameSpecified -
name
-
nameSpecified
protected boolean nameSpecified -
groupCount
A count of the groups that are of this type.
-
-
Constructor Details
-
Type
public Type()
-
-
Method Details
-
getGroups
-
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getKeyName
-
setKeyName
-
isKeyNameSpecified
public boolean isKeyNameSpecified() -
unsetKeyName
public void unsetKeyName() -
getName
-
setName
-
isNameSpecified
public boolean isNameSpecified() -
unsetName
public void unsetName() -
getGroupCount
-
setGroupCount
-
asService
-
service
-
service
-