Package com.softlayer.api.service.survey
Class Answer
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.survey.Answer
-
@ApiType("SoftLayer_Survey_Answer") public class Answer extends Entity
The SoftLayer_Survey_Answer data type contains general information relating to a single SoftLayer survey answer.- See Also:
- SoftLayer_Survey_Answer
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Answer.Mask
-
Field Summary
Fields Modifier and Type Field Description protected String
answer
A survey answer's answer that a user can response too.protected Long
answerOrder
A value indicating the order in when a survey answer will be displayed to a user.protected boolean
answerOrderSpecified
protected boolean
answerSpecified
protected Long
id
A survey answer's Id.protected boolean
idSpecified
protected Question
surveyQuestion
The survey question that this answer belongs to.protected Long
surveyQuestionId
A survey answer's associated [[SoftLayer_Survey_Question|Survey Question]] Id.protected boolean
surveyQuestionIdSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Answer()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getAnswer()
Long
getAnswerOrder()
Long
getId()
Question
getSurveyQuestion()
Long
getSurveyQuestionId()
boolean
isAnswerOrderSpecified()
boolean
isAnswerSpecified()
boolean
isIdSpecified()
boolean
isSurveyQuestionIdSpecified()
void
setAnswer(String answer)
void
setAnswerOrder(Long answerOrder)
void
setId(Long id)
void
setSurveyQuestion(Question surveyQuestion)
void
setSurveyQuestionId(Long surveyQuestionId)
void
unsetAnswer()
void
unsetAnswerOrder()
void
unsetId()
void
unsetSurveyQuestionId()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
surveyQuestion
@ApiProperty protected Question surveyQuestion
The survey question that this answer belongs to.
-
answer
@ApiProperty(canBeNullOrNotSet=true) protected String answer
A survey answer's answer that a user can response too.
-
answerSpecified
protected boolean answerSpecified
-
answerOrder
@ApiProperty(canBeNullOrNotSet=true) protected Long answerOrder
A value indicating the order in when a survey answer will be displayed to a user.
-
answerOrderSpecified
protected boolean answerOrderSpecified
-
id
@ApiProperty(canBeNullOrNotSet=true) protected Long id
A survey answer's Id.
-
idSpecified
protected boolean idSpecified
-
surveyQuestionId
@ApiProperty(canBeNullOrNotSet=true) protected Long surveyQuestionId
A survey answer's associated [[SoftLayer_Survey_Question|Survey Question]] Id.
-
surveyQuestionIdSpecified
protected boolean surveyQuestionIdSpecified
-
-
Method Detail
-
getSurveyQuestion
public Question getSurveyQuestion()
-
setSurveyQuestion
public void setSurveyQuestion(Question surveyQuestion)
-
getAnswer
public String getAnswer()
-
setAnswer
public void setAnswer(String answer)
-
isAnswerSpecified
public boolean isAnswerSpecified()
-
unsetAnswer
public void unsetAnswer()
-
getAnswerOrder
public Long getAnswerOrder()
-
setAnswerOrder
public void setAnswerOrder(Long answerOrder)
-
isAnswerOrderSpecified
public boolean isAnswerOrderSpecified()
-
unsetAnswerOrder
public void unsetAnswerOrder()
-
getId
public Long getId()
-
setId
public void setId(Long id)
-
isIdSpecified
public boolean isIdSpecified()
-
unsetId
public void unsetId()
-
getSurveyQuestionId
public Long getSurveyQuestionId()
-
setSurveyQuestionId
public void setSurveyQuestionId(Long surveyQuestionId)
-
isSurveyQuestionIdSpecified
public boolean isSurveyQuestionIdSpecified()
-
unsetSurveyQuestionId
public void unsetSurveyQuestionId()
-
-