Package com.softlayer.api.service.survey
Class Question
java.lang.Object
com.softlayer.api.Type
com.softlayer.api.service.Entity
com.softlayer.api.service.survey.Question
@ApiType("SoftLayer_Survey_Question") public class Question extends Entity
The SoftLayer_Survey_Question data type contains general information relating to a single SoftLayer survey question.
- See Also:
- SoftLayer_Survey_Question
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Question.Mask
-
Field Summary
Fields Modifier and Type Field Description protected Long
answerCount
A count of the possible answers for a survey question.protected List<Answer>
answers
The possible answers for a survey question.protected Long
id
A survey question's Id.protected boolean
idSpecified
protected Long
isRequired
A flag indicating that a survey question requires a response.protected boolean
isRequiredSpecified
protected Long
multiAnswer
A flag indicating that a survey question can have multiple answers responded to.protected boolean
multiAnswerSpecified
protected String
question
A survey question's question.protected Long
questionOrder
A value indicating the order in when a survey question will be asked.protected boolean
questionOrderSpecified
protected boolean
questionSpecified
protected Survey
survey
The survey that a question belongs to.protected Long
surveyId
A survey question's associated [[SoftLayer_Survey|Survey]] Id.protected boolean
surveyIdSpecified
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
Constructor Summary
Constructors Constructor Description Question()
-
Method Summary
Modifier and Type Method Description Long
getAnswerCount()
List<Answer>
getAnswers()
Long
getId()
Long
getIsRequired()
Long
getMultiAnswer()
String
getQuestion()
Long
getQuestionOrder()
Survey
getSurvey()
Long
getSurveyId()
boolean
isIdSpecified()
boolean
isIsRequiredSpecified()
boolean
isMultiAnswerSpecified()
boolean
isQuestionOrderSpecified()
boolean
isQuestionSpecified()
boolean
isSurveyIdSpecified()
void
setAnswerCount(Long answerCount)
void
setId(Long id)
void
setIsRequired(Long isRequired)
void
setMultiAnswer(Long multiAnswer)
void
setQuestion(String question)
void
setQuestionOrder(Long questionOrder)
void
setSurvey(Survey survey)
void
setSurveyId(Long surveyId)
void
unsetId()
void
unsetIsRequired()
void
unsetMultiAnswer()
void
unsetQuestion()
void
unsetQuestionOrder()
void
unsetSurveyId()
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
Field Details
-
answers
The possible answers for a survey question. -
survey
The survey that a question belongs to. -
id
A survey question's Id. -
idSpecified
protected boolean idSpecified -
isRequired
A flag indicating that a survey question requires a response. -
isRequiredSpecified
protected boolean isRequiredSpecified -
multiAnswer
A flag indicating that a survey question can have multiple answers responded to. -
multiAnswerSpecified
protected boolean multiAnswerSpecified -
question
A survey question's question. -
questionSpecified
protected boolean questionSpecified -
questionOrder
A value indicating the order in when a survey question will be asked. -
questionOrderSpecified
protected boolean questionOrderSpecified -
surveyId
A survey question's associated [[SoftLayer_Survey|Survey]] Id. -
surveyIdSpecified
protected boolean surveyIdSpecified -
answerCount
A count of the possible answers for a survey question.
-
-
Constructor Details
-
Question
public Question()
-
-
Method Details
-
getAnswers
-
getSurvey
-
setSurvey
-
getId
-
setId
-
isIdSpecified
public boolean isIdSpecified() -
unsetId
public void unsetId() -
getIsRequired
-
setIsRequired
-
isIsRequiredSpecified
public boolean isIsRequiredSpecified() -
unsetIsRequired
public void unsetIsRequired() -
getMultiAnswer
-
setMultiAnswer
-
isMultiAnswerSpecified
public boolean isMultiAnswerSpecified() -
unsetMultiAnswer
public void unsetMultiAnswer() -
getQuestion
-
setQuestion
-
isQuestionSpecified
public boolean isQuestionSpecified() -
unsetQuestion
public void unsetQuestion() -
getQuestionOrder
-
setQuestionOrder
-
isQuestionOrderSpecified
public boolean isQuestionOrderSpecified() -
unsetQuestionOrder
public void unsetQuestionOrder() -
getSurveyId
-
setSurveyId
-
isSurveyIdSpecified
public boolean isSurveyIdSpecified() -
unsetSurveyId
public void unsetSurveyId() -
getAnswerCount
-
setAnswerCount
-