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

    • answers

      @ApiProperty protected List<Answer> answers
      The possible answers for a survey question.
    • survey

      @ApiProperty protected Survey survey
      The survey that a question belongs to.
    • id

      @ApiProperty(canBeNullOrNotSet=true) protected Long id
      A survey question's Id.
    • idSpecified

      protected boolean idSpecified
    • isRequired

      @ApiProperty(canBeNullOrNotSet=true) protected Long isRequired
      A flag indicating that a survey question requires a response.
    • isRequiredSpecified

      protected boolean isRequiredSpecified
    • multiAnswer

      @ApiProperty(canBeNullOrNotSet=true) protected Long multiAnswer
      A flag indicating that a survey question can have multiple answers responded to.
    • multiAnswerSpecified

      protected boolean multiAnswerSpecified
    • question

      @ApiProperty(canBeNullOrNotSet=true) protected String question
      A survey question's question.
    • questionSpecified

      protected boolean questionSpecified
    • questionOrder

      @ApiProperty(canBeNullOrNotSet=true) protected Long questionOrder
      A value indicating the order in when a survey question will be asked.
    • questionOrderSpecified

      protected boolean questionOrderSpecified
    • surveyId

      @ApiProperty(canBeNullOrNotSet=true) protected Long surveyId
      A survey question's associated [[SoftLayer_Survey|Survey]] Id.
    • surveyIdSpecified

      protected boolean surveyIdSpecified
    • answerCount

      @ApiProperty protected Long answerCount
      A count of the possible answers for a survey question.
  • Constructor Details

    • Question

      public Question()
  • Method Details

    • getAnswers

      public List<Answer> getAnswers()
    • getSurvey

      public Survey getSurvey()
    • setSurvey

      public void setSurvey​(Survey survey)
    • getId

      public Long getId()
    • setId

      public void setId​(Long id)
    • isIdSpecified

      public boolean isIdSpecified()
    • unsetId

      public void unsetId()
    • getIsRequired

      public Long getIsRequired()
    • setIsRequired

      public void setIsRequired​(Long isRequired)
    • isIsRequiredSpecified

      public boolean isIsRequiredSpecified()
    • unsetIsRequired

      public void unsetIsRequired()
    • getMultiAnswer

      public Long getMultiAnswer()
    • setMultiAnswer

      public void setMultiAnswer​(Long multiAnswer)
    • isMultiAnswerSpecified

      public boolean isMultiAnswerSpecified()
    • unsetMultiAnswer

      public void unsetMultiAnswer()
    • getQuestion

      public String getQuestion()
    • setQuestion

      public void setQuestion​(String question)
    • isQuestionSpecified

      public boolean isQuestionSpecified()
    • unsetQuestion

      public void unsetQuestion()
    • getQuestionOrder

      public Long getQuestionOrder()
    • setQuestionOrder

      public void setQuestionOrder​(Long questionOrder)
    • isQuestionOrderSpecified

      public boolean isQuestionOrderSpecified()
    • unsetQuestionOrder

      public void unsetQuestionOrder()
    • getSurveyId

      public Long getSurveyId()
    • setSurveyId

      public void setSurveyId​(Long surveyId)
    • isSurveyIdSpecified

      public boolean isSurveyIdSpecified()
    • unsetSurveyId

      public void unsetSurveyId()
    • getAnswerCount

      public Long getAnswerCount()
    • setAnswerCount

      public void setAnswerCount​(Long answerCount)