Class MicrosoftGraphPersonOrGroupColumn
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPersonOrGroupColumn
personOrGroupColumn.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphPersonOrGroupColumn class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: personOrGroupColumn.Get the allowMultipleSelection property: Indicates whether multiple values can be selected from the source.Get the chooseFromType property: Whether to allow selection of people only, or people and groups.Get the displayAs property: How to display the information about the person or group chosen.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: personOrGroupColumn.withAllowMultipleSelection(Boolean allowMultipleSelection) Set the allowMultipleSelection property: Indicates whether multiple values can be selected from the source.withChooseFromType(String chooseFromType) Set the chooseFromType property: Whether to allow selection of people only, or people and groups.withDisplayAs(String displayAs) Set the displayAs property: How to display the information about the person or group chosen.
-
Constructor Details
-
MicrosoftGraphPersonOrGroupColumn
public MicrosoftGraphPersonOrGroupColumn()Creates an instance of MicrosoftGraphPersonOrGroupColumn class.
-
-
Method Details
-
allowMultipleSelection
Get the allowMultipleSelection property: Indicates whether multiple values can be selected from the source.- Returns:
- the allowMultipleSelection value.
-
withAllowMultipleSelection
Set the allowMultipleSelection property: Indicates whether multiple values can be selected from the source.- Parameters:
allowMultipleSelection- the allowMultipleSelection value to set.- Returns:
- the MicrosoftGraphPersonOrGroupColumn object itself.
-
chooseFromType
Get the chooseFromType property: Whether to allow selection of people only, or people and groups. Must be one of peopleAndGroups or peopleOnly.- Returns:
- the chooseFromType value.
-
withChooseFromType
Set the chooseFromType property: Whether to allow selection of people only, or people and groups. Must be one of peopleAndGroups or peopleOnly.- Parameters:
chooseFromType- the chooseFromType value to set.- Returns:
- the MicrosoftGraphPersonOrGroupColumn object itself.
-
displayAs
Get the displayAs property: How to display the information about the person or group chosen. See below.- Returns:
- the displayAs value.
-
withDisplayAs
Set the displayAs property: How to display the information about the person or group chosen. See below.- Parameters:
displayAs- the displayAs value to set.- Returns:
- the MicrosoftGraphPersonOrGroupColumn object itself.
-
additionalProperties
Get the additionalProperties property: personOrGroupColumn.- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphPersonOrGroupColumn withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: personOrGroupColumn.- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphPersonOrGroupColumn object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-