Package com.microsoft.graph.models
Class AccessPackageQuestion
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.AccessPackageQuestion
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
- Direct Known Subclasses:
AccessPackageMultipleChoiceQuestion,AccessPackageTextInputQuestion
public class AccessPackageQuestion
extends Entity
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Access Package Question.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Is Answer Editable.The Is Required.The Localizations.The Sequence.The Text. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
isAnswerEditable
@SerializedName(value="isAnswerEditable", alternate="IsAnswerEditable") @Expose @Nullable public Boolean isAnswerEditableThe Is Answer Editable. Specifies whether the requestor is allowed to edit answers to questions for an assignment by posting an update to accessPackageAssignmentRequest. -
isRequired
@SerializedName(value="isRequired", alternate="IsRequired") @Expose @Nullable public Boolean isRequiredThe Is Required. Whether the requestor is required to supply an answer or not. -
localizations
@SerializedName(value="localizations", alternate="Localizations") @Expose @Nullable public List<AccessPackageLocalizedText> localizationsThe Localizations. The text of the question represented in a format for a specific locale. -
sequence
The Sequence. Relative position of this question when displaying a list of questions to the requestor. -
text
The Text. The text of the question to show to the requestor.
-
-
Constructor Details
-
AccessPackageQuestion
public AccessPackageQuestion()
-
-
Method Details
-
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- Overrides:
setRawObjectin classEntity- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-