你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphPersonOrGroupColumn Class

  • java.lang.Object
    • com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphPersonOrGroupColumn

Implements

public final class MicrosoftGraphPersonOrGroupColumn
implements JsonSerializable<MicrosoftGraphPersonOrGroupColumn>

personOrGroupColumn.

Constructor Summary

Constructor Description
MicrosoftGraphPersonOrGroupColumn()

Creates an instance of MicrosoftGraphPersonOrGroupColumn class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: personOrGroupColumn.

Boolean allowMultipleSelection()

Get the allowMultipleSelection property: Indicates whether multiple values can be selected from the source.

String chooseFromType()

Get the chooseFromType property: Whether to allow selection of people only, or people and groups.

String displayAs()

Get the displayAs property: How to display the information about the person or group chosen.

static MicrosoftGraphPersonOrGroupColumn fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphPersonOrGroupColumn from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphPersonOrGroupColumn withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: personOrGroupColumn.

MicrosoftGraphPersonOrGroupColumn withAllowMultipleSelection(Boolean allowMultipleSelection)

Set the allowMultipleSelection property: Indicates whether multiple values can be selected from the source.

MicrosoftGraphPersonOrGroupColumn withChooseFromType(String chooseFromType)

Set the chooseFromType property: Whether to allow selection of people only, or people and groups.

MicrosoftGraphPersonOrGroupColumn withDisplayAs(String displayAs)

Set the displayAs property: How to display the information about the person or group chosen.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphPersonOrGroupColumn

public MicrosoftGraphPersonOrGroupColumn()

Creates an instance of MicrosoftGraphPersonOrGroupColumn class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: personOrGroupColumn.

Returns:

the additionalProperties value.

allowMultipleSelection

public Boolean allowMultipleSelection()

Get the allowMultipleSelection property: Indicates whether multiple values can be selected from the source.

Returns:

the allowMultipleSelection value.

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.

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.

fromJson

public static MicrosoftGraphPersonOrGroupColumn fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphPersonOrGroupColumn from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphPersonOrGroupColumn if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphPersonOrGroupColumn.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphPersonOrGroupColumn withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: personOrGroupColumn.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphPersonOrGroupColumn object itself.

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.

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.

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.

Applies to