Class 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
  • Field Details

    • 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
  • Constructor Details

    • Answer

      public Answer()
  • Method Details

    • 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()