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
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
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()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
description
@ApiProperty protected String description
Description of the user preference
-
type
@ApiProperty protected Type type
Type of user preference
-
value
@ApiProperty(canBeNullOrNotSet=true) protected String value
The users current preference value
-
valueSpecified
protected boolean valueSpecified
-
-
Method Detail
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
getType
public Type getType()
-
setType
public void setType(Type type)
-
getValue
public String getValue()
-
setValue
public void setValue(String value)
-
isValueSpecified
public boolean isValueSpecified()
-
unsetValue
public void unsetValue()
-
-