ערוך

שתף באמצעות


accessPackageMultipleChoiceQuestion resource type

Namespace: microsoft.graph

Important

APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.

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 and inside an accessPackageResourceAttribute of an access package resource.

Inherits from accessPackageQuestion.

Properties

Property Type Description
allowsMultipleSelection Boolean Indicates whether requestor can select multiple choices as their answer.
choices accessPackageAnswerChoice collection List of answer choices.
id String ID of the question. Inherited from accessPackageQuestion.
isRequired Boolean Indicates whether the requestor is required to supply an answer or not. Inherited from accessPackageQuestion.
sequence Int32 Relative position of this question when displaying a list of questions to the requestor. Inherited from accessPackageQuestion.
text accessPackageLocalizedContent The text of the question to show 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)",
  "isRequired": "Boolean",
  "text": {
    "@odata.type": "microsoft.graph.accessPackageLocalizedContent"
  },
  "sequence": "Integer",
  "choices": [
    {
      "@odata.type": "microsoft.graph.accessPackageAnswerChoice"
    }
  ],
  "allowsMultipleSelection": "Boolean"
}