Class Type
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.user.preference.Type
-
@ApiType("SoftLayer_User_Preference_Type") public class Type extends Entity
The SoftLayer_User_Preference_Type data type contains a single preference type including the accepted values.- See Also:
- SoftLayer_User_Preference_Type
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Type.Mask
-
Field Summary
Fields Modifier and Type Field Description protected String
description
A description of the preference typeprotected boolean
descriptionSpecified
protected String
keyName
protected boolean
keyNameSpecified
protected String
name
The name of the preference typeprotected boolean
nameSpecified
protected String
valueExample
An example of accepted preference valuesprotected boolean
valueExampleSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Type()
-
Method Summary
Modifier and Type Method Description String
getDescription()
String
getKeyName()
String
getName()
String
getValueExample()
boolean
isDescriptionSpecified()
boolean
isKeyNameSpecified()
boolean
isNameSpecified()
boolean
isValueExampleSpecified()
void
setDescription(String description)
void
setKeyName(String keyName)
void
setName(String name)
void
setValueExample(String valueExample)
void
unsetDescription()
void
unsetKeyName()
void
unsetName()
void
unsetValueExample()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
description
@ApiProperty(canBeNullOrNotSet=true) protected String description
A description of the preference type
-
descriptionSpecified
protected boolean descriptionSpecified
-
keyName
@ApiProperty(canBeNullOrNotSet=true) protected String keyName
-
keyNameSpecified
protected boolean keyNameSpecified
-
name
@ApiProperty(canBeNullOrNotSet=true) protected String name
The name of the preference type
-
nameSpecified
protected boolean nameSpecified
-
valueExample
@ApiProperty(canBeNullOrNotSet=true) protected String valueExample
An example of accepted preference values
-
valueExampleSpecified
protected boolean valueExampleSpecified
-
-
Method Detail
-
getDescription
public String getDescription()
-
setDescription
public void setDescription(String description)
-
isDescriptionSpecified
public boolean isDescriptionSpecified()
-
unsetDescription
public void unsetDescription()
-
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()
-
getValueExample
public String getValueExample()
-
setValueExample
public void setValueExample(String valueExample)
-
isValueExampleSpecified
public boolean isValueExampleSpecified()
-
unsetValueExample
public void unsetValueExample()
-
-