Package com.softlayer.api.service.survey
Class Response
- java.lang.Object
-
- com.softlayer.api.Type
-
- com.softlayer.api.service.Entity
-
- com.softlayer.api.service.survey.Response
-
@ApiType("SoftLayer_Survey_Response") public class Response extends Entity
The SoftLayer_Survey_Response data type contains general information relating to a single SoftLayer survey response.- See Also:
- SoftLayer_Survey_Response
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Response.Mask
-
Field Summary
Fields Modifier and Type Field Description protected String
otherAnswer
The user typed response for the [[SoftLayer_Survey_Answer|Survey Answer]] that a response is associated with.protected boolean
otherAnswerSpecified
protected Answer
surveyAnswer
The survey answer that this response was to.protected Long
surveyAnswerId
The Id of the [[SoftLayer_Survey_Answer|Survey Answer]] that a response was made for.protected boolean
surveyAnswerIdSpecified
-
Fields inherited from class com.softlayer.api.Type
unknownProperties
-
-
Constructor Summary
Constructors Constructor Description Response()
-
Method Summary
Modifier and Type Method Description String
getOtherAnswer()
Answer
getSurveyAnswer()
Long
getSurveyAnswerId()
boolean
isOtherAnswerSpecified()
boolean
isSurveyAnswerIdSpecified()
void
setOtherAnswer(String otherAnswer)
void
setSurveyAnswer(Answer surveyAnswer)
void
setSurveyAnswerId(Long surveyAnswerId)
void
unsetOtherAnswer()
void
unsetSurveyAnswerId()
-
Methods inherited from class com.softlayer.api.Type
getUnknownProperties, setUnknownProperties
-
-
-
-
Field Detail
-
surveyAnswer
@ApiProperty protected Answer surveyAnswer
The survey answer that this response was to.
-
otherAnswer
@ApiProperty(canBeNullOrNotSet=true) protected String otherAnswer
The user typed response for the [[SoftLayer_Survey_Answer|Survey Answer]] that a response is associated with.
-
otherAnswerSpecified
protected boolean otherAnswerSpecified
-
surveyAnswerId
@ApiProperty(canBeNullOrNotSet=true) protected Long surveyAnswerId
The Id of the [[SoftLayer_Survey_Answer|Survey Answer]] that a response was made for.
-
surveyAnswerIdSpecified
protected boolean surveyAnswerIdSpecified
-
-
Method Detail
-
getSurveyAnswer
public Answer getSurveyAnswer()
-
setSurveyAnswer
public void setSurveyAnswer(Answer surveyAnswer)
-
getOtherAnswer
public String getOtherAnswer()
-
setOtherAnswer
public void setOtherAnswer(String otherAnswer)
-
isOtherAnswerSpecified
public boolean isOtherAnswerSpecified()
-
unsetOtherAnswer
public void unsetOtherAnswer()
-
getSurveyAnswerId
public Long getSurveyAnswerId()
-
setSurveyAnswerId
public void setSurveyAnswerId(Long surveyAnswerId)
-
isSurveyAnswerIdSpecified
public boolean isSurveyAnswerIdSpecified()
-
unsetSurveyAnswerId
public void unsetSurveyAnswerId()
-
-