Class Question
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.product.item.category.Question
@ApiType("SoftLayer_Product_Item_Category_Question") public class Question extends Entity
The SoftLayer_Product_Item_Category_Question data type represents a single question to be answered by an end user. The question may or may not be required which can be located by looking at the 'required' property on the item category references. The answerValueExpression property is a regular expression that is used to validate the answer to the question. The description and valueExample properties can be used to get an idea of the type of answer that should be provided.
- See Also:
- SoftLayer_Product_Item_Category_Question
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Question.Mask
-
Field Summary
Fields Modifier and Type Field Description protected String
answerValueExpression
The type of answer expected.protected boolean
answerValueExpressionSpecified
protected String
description
The description for the question.protected boolean
descriptionSpecified
protected Type
fieldType
The type of field that should be used in an HTML form to accept an answer from an end user.protected Long
fieldTypeId
The type of field to use.protected boolean
fieldTypeIdSpecified
protected Long
id
identifier for category.protected boolean
idSpecified
protected Long
itemCategoryReferenceCount
A count of the link between an item category and an item category question.protected List<Xref>
itemCategoryReferences
The link between an item category and an item category question.protected String
keyName
The keyname for the question.protected boolean
keyNameSpecified
protected String
question
The question for the category.protected boolean
questionSpecified
protected String
valueExample
An example and/or explanation of what the answer for the question is expected to look like.protected boolean
valueExampleSpecified
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
Constructor Summary
Constructors Constructor Description Question()
-
Method Summary
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
Field Details
-
fieldType
The type of field that should be used in an HTML form to accept an answer from an end user. -
itemCategoryReferences
The link between an item category and an item category question. -
answerValueExpression
The type of answer expected. -
answerValueExpressionSpecified
protected boolean answerValueExpressionSpecified -
description
The description for the question. -
descriptionSpecified
protected boolean descriptionSpecified -
fieldTypeId
The type of field to use. -
fieldTypeIdSpecified
protected boolean fieldTypeIdSpecified -
id
identifier for category. -
idSpecified
protected boolean idSpecified -
keyName
The keyname for the question. -
keyNameSpecified
protected boolean keyNameSpecified -
question
The question for the category. -
questionSpecified
protected boolean questionSpecified -
valueExample
An example and/or explanation of what the answer for the question is expected to look like. -
valueExampleSpecified
protected boolean valueExampleSpecified -
itemCategoryReferenceCount
A count of the link between an item category and an item category question.
-
-
Constructor Details
-
Question
public Question()
-
-
Method Details
-
getFieldType
-
setFieldType
-
getItemCategoryReferences
-
getAnswerValueExpression
-
setAnswerValueExpression
-
isAnswerValueExpressionSpecified
public boolean isAnswerValueExpressionSpecified() -
unsetAnswerValueExpression
public void unsetAnswerValueExpression() -
getDescription
-
setDescription
-
isDescriptionSpecified
public boolean isDescriptionSpecified() -
unsetDescription
public void unsetDescription() -
getFieldTypeId
-
setFieldTypeId
-
isFieldTypeIdSpecified
public boolean isFieldTypeIdSpecified() -
unsetFieldTypeId
public void unsetFieldTypeId() -
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getKeyName
-
setKeyName
-
isKeyNameSpecified
public boolean isKeyNameSpecified() -
unsetKeyName
public void unsetKeyName() -
getQuestion
-
setQuestion
-
isQuestionSpecified
public boolean isQuestionSpecified() -
unsetQuestion
public void unsetQuestion() -
getValueExample
-
setValueExample
-
isValueExampleSpecified
public boolean isValueExampleSpecified() -
unsetValueExample
public void unsetValueExample() -
getItemCategoryReferenceCount
-
setItemCategoryReferenceCount
-