Class MicrosoftGraphPersonOrGroupColumn
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPersonOrGroupColumn
-
public final class MicrosoftGraphPersonOrGroupColumn extends Object
personOrGroupColumn.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphPersonOrGroupColumn()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>additionalProperties()Get the additionalProperties property: personOrGroupColumn.BooleanallowMultipleSelection()Get the allowMultipleSelection property: Indicates whether multiple values can be selected from the source.StringchooseFromType()Get the chooseFromType property: Whether to allow selection of people only, or people and groups.StringdisplayAs()Get the displayAs property: How to display the information about the person or group chosen.voidvalidate()Validates the instance.MicrosoftGraphPersonOrGroupColumnwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: personOrGroupColumn.MicrosoftGraphPersonOrGroupColumnwithAllowMultipleSelection(Boolean allowMultipleSelection)Set the allowMultipleSelection property: Indicates whether multiple values can be selected from the source.MicrosoftGraphPersonOrGroupColumnwithChooseFromType(String chooseFromType)Set the chooseFromType property: Whether to allow selection of people only, or people and groups.MicrosoftGraphPersonOrGroupColumnwithDisplayAs(String displayAs)Set the displayAs property: How to display the information about the person or group chosen.
-
-
-
Method Detail
-
allowMultipleSelection
public Boolean allowMultipleSelection()
Get the allowMultipleSelection property: Indicates whether multiple values can be selected from the source.- Returns:
- the allowMultipleSelection value.
-
withAllowMultipleSelection
public MicrosoftGraphPersonOrGroupColumn withAllowMultipleSelection(Boolean allowMultipleSelection)
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
public String 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
public MicrosoftGraphPersonOrGroupColumn withChooseFromType(String chooseFromType)
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
public String displayAs()
Get the displayAs property: How to display the information about the person or group chosen. See below.- Returns:
- the displayAs value.
-
withDisplayAs
public MicrosoftGraphPersonOrGroupColumn withDisplayAs(String displayAs)
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
public Map<String,Object> 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.
-
-