編輯

共用方式為


accessPackageMultipleChoiceQuestion resource type

Namespace: microsoft.graph

A child of accessPackageQuestion that presents multiple options that the requestor must choose an answer from. This is used in the questions property of an accessPackageAssignmentPolicy.

Inherits from accessPackageQuestion.

Properties

Property Type Description
choices accessPackageAnswerChoice collection List of answer choices.
id String ID of the question. Inherited from accessPackageQuestion.
isAnswerEditable Boolean Specifies whether the requestor is allowed to edit answers to questions. Inherited from accessPackageQuestion.
isMultipleSelectionAllowed Boolean Indicates whether requestor can select multiple choices as their answer.
isRequired Boolean Indicates whether the requestor is required to supply an answer or not. Inherited from accessPackageQuestion.
localizations accessPackageLocalizedText collection The text of the question represented in a format for a specific locale. Inherited from accessPackageQuestion.
sequence Int32 Relative position of this question when displaying a list of questions to the requestor. Inherited from accessPackageQuestion.
text String The text of the question to show to the requestor. Inherited from accessPackageQuestion.

Relationships

None.

JSON representation

The following JSON representation shows the resource type.

{
  "@odata.type": "#microsoft.graph.accessPackageMultipleChoiceQuestion",
  "id": "String (identifier)",
  "sequence": "Integer",
  "isRequired": "Boolean",
  "isAnswerEditable":"Boolean", 
  "text": "String",
  "localizations": [
    {
      "@odata.type": "microsoft.graph.accessPackageLocalizedText"
    }
  ],
  "isMultipleSelectionAllowed": "Boolean",
  "choices": [
    {
      "@odata.type": "microsoft.graph.accessPackageAnswerChoice"
    }
  ]
}