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 Details

    • isAnswerEditable

      @SerializedName(value="isAnswerEditable", alternate="IsAnswerEditable") @Expose @Nullable public Boolean isAnswerEditable
      The 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 isRequired
      The Is Required. Whether the requestor is required to supply an answer or not.
    • localizations

      @SerializedName(value="localizations", alternate="Localizations") @Expose @Nullable public List<AccessPackageLocalizedText> localizations
      The Localizations. The text of the question represented in a format for a specific locale.
    • sequence

      @SerializedName(value="sequence", alternate="Sequence") @Expose @Nullable public Integer sequence
      The Sequence. Relative position of this question when displaying a list of questions to the requestor.
    • text

      @SerializedName(value="text", alternate="Text") @Expose @Nullable public String 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:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to