Class Permission
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.user.customer.customerpermission.Permission
-
@ApiType("SoftLayer_User_Customer_CustomerPermission_Permission") public class Permission extends Entity
Each SoftLayer portal account is assigned a series of permissions that determine what access the user has to functions within the SoftLayer customer portal. This status is reflected in the SoftLayer_User_Customer_Status data type. Permissions differ from user status in that user status applies globally to the portal while user permissions are applied to specific portal functions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Permission.Mask
static interface
Permission.Service
Portal account users who are not the master user (account owner) have permissions to allow them access to portal functionalities.static interface
Permission.ServiceAsync
-
Field Summary
Fields Modifier and Type Field Description protected String
key
A user permission's short name.protected String
keyName
A user permission's key name.protected boolean
keyNameSpecified
protected boolean
keySpecified
protected String
name
A user permission's name.protected boolean
nameSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Permission()
-
Method Summary
Modifier and Type Method Description String
getKey()
String
getKeyName()
String
getName()
boolean
isKeyNameSpecified()
boolean
isKeySpecified()
boolean
isNameSpecified()
static Permission.Service
service(ApiClient client)
void
setKey(String key)
void
setKeyName(String keyName)
void
setName(String name)
void
unsetKey()
void
unsetKeyName()
void
unsetName()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
key
@ApiProperty(canBeNullOrNotSet=true) protected String key
A user permission's short name.
-
keySpecified
protected boolean keySpecified
-
keyName
@ApiProperty(canBeNullOrNotSet=true) protected String keyName
A user permission's key name.
-
keyNameSpecified
protected boolean keyNameSpecified
-
name
@ApiProperty(canBeNullOrNotSet=true) protected String name
A user permission's name.
-
nameSpecified
protected boolean nameSpecified
-
-
Method Detail
-
getKey
public String getKey()
-
setKey
public void setKey(String key)
-
isKeySpecified
public boolean isKeySpecified()
-
unsetKey
public void unsetKey()
-
getKeyName
public String getKeyName()
-
setKeyName
public void setKeyName(String keyName)
-
isKeyNameSpecified
public boolean isKeyNameSpecified()
-
unsetKeyName
public void unsetKeyName()
-
getName
public String getName()
-
setName
public void setName(String name)
-
isNameSpecified
public boolean isNameSpecified()
-
unsetName
public void unsetName()
-
service
public static Permission.Service service(ApiClient client)
-
-