Package com.microsoft.graph.models
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 Summary
FieldsModifier and TypeFieldDescriptionThe Answer.The Answer Input Type.The Answer Options.The Is Required.the OData type of the object as returned by the serviceThe Question.The Question Id.The Selected Options. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManagervoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
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 answerInputTypeThe 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> answerOptionsThe 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 isRequiredThe Is Required. Indicates whether it is mandatory to answer the custom question. -
question
The Question. The question. -
questionId
@SerializedName(value="questionId", alternate="QuestionId") @Expose @Nullable public String questionIdThe Question Id. The ID of the custom question. -
selectedOptions
@SerializedName(value="selectedOptions", alternate="SelectedOptions") @Expose @Nullable public List<String> selectedOptionsThe 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:
additionalDataManagerin interfacecom.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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-