Class BookingQuestionAnswer

java.lang.Object
com.microsoft.graph.models.BookingQuestionAnswer
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class BookingQuestionAnswer extends Object implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Booking Question Answer.
  • Field Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • answer

      @SerializedName(value="answer", alternate="Answer") @Expose @Nullable public String answer
      The Answer. The answer given by the user in case the answerInputType is text.
    • answerInputType

      @SerializedName(value="answerInputType", alternate="AnswerInputType") @Expose @Nullable public AnswerInputType answerInputType
      The Answer Input Type. The expected answer type. The possible values are: text, radioButton, unknownFutureValue.
    • answerOptions

      @SerializedName(value="answerOptions", alternate="AnswerOptions") @Expose @Nullable public List<String> answerOptions
      The Answer Options. In case the answerInputType is radioButton, this will consists of a list of possible answer values.
    • isRequired

      @SerializedName(value="isRequired", alternate="IsRequired") @Expose @Nullable public Boolean isRequired
      The Is Required. Indicates whether it is mandatory to answer the custom question.
    • question

      @SerializedName(value="question", alternate="Question") @Expose @Nullable public String question
      The Question. The question.
    • questionId

      @SerializedName(value="questionId", alternate="QuestionId") @Expose @Nullable public String questionId
      The Question Id. The ID of the custom question.
    • selectedOptions

      @SerializedName(value="selectedOptions", alternate="SelectedOptions") @Expose @Nullable public List<String> selectedOptions
      The Selected Options. The answers selected by the user.
  • Constructor Details

    • BookingQuestionAnswer

      public BookingQuestionAnswer()
  • Method Details

    • additionalDataManager

      @Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()
      Specified by:
      additionalDataManager in interface com.microsoft.graph.serializer.IJsonBackedObject
    • setRawObject

      public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json)
      Sets the raw JSON object
      Specified by:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to