Package com.softlayer.api.service.user
Class Preference
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.user.Preference
@ApiType("SoftLayer_User_Preference") public class Preference extends Entity
The SoftLayer_User_Preference data type contains a single user preference to a specific preference type.
- See Also:
- SoftLayer_User_Preference
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Preference.Mask
-
Field Summary
Fields Modifier and Type Field Description protected String
description
Description of the user preferenceprotected Type
type
Type of user preferenceprotected String
value
The users current preference valueprotected boolean
valueSpecified
-
Constructor Summary
Constructors Constructor Description Preference()
-
Method Summary
Modifier and Type Method Description String
getDescription()
Type
getType()
String
getValue()
boolean
isValueSpecified()
void
setDescription(String description)
void
setType(Type type)
void
setValue(String value)
void
unsetValue()
-
Field Details
-
description
Description of the user preference -
type
Type of user preference -
value
The users current preference value -
valueSpecified
protected boolean valueSpecified
-
-
Constructor Details
-
Preference
public Preference()
-
-
Method Details
-
getDescription
-
setDescription
-
getType
-
setType
-
getValue
-
setValue
-
isValueSpecified
public boolean isValueSpecified() -
unsetValue
public void unsetValue()
-