編輯

共用方式為


accessPackageTextInputQuestion resource type

Namespace: microsoft.graph

A child of accessPackageQuestion that has text input as an answer, and is used in the questions property of an accessPackageAssignmentPolicy.

Inherits from accessPackageQuestion.

Properties

Property Type Description
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.
isRequired Boolean Indicates whether the requestor is required to supply an answer or not. Inherited from accessPackageQuestion.
isSingleLineQuestion Boolean Indicates whether the answer is in single or multiple line format.
localizations accessPackageLocalizedText collection The text of the question represented in a format for a specific locale. Inherited from accessPackageQuestion.
regexPattern String The regular expression pattern that any answer to this question must match.
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.accessPackageTextInputQuestion",
  "id": "String (identifier)",
  "sequence": "Integer",
  "isRequired": "Boolean",
  "isAnswerEditable":"Boolean", 
  "text": "String",
  "localizations": [
    {
      "@odata.type": "microsoft.graph.accessPackageLocalizedText"
    }
  ],
  "isSingleLineQuestion": "Boolean",
  "regexPattern": "String"
}