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

MicrosoftGraphLookupColumn Class

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

Implements

public final class MicrosoftGraphLookupColumn
implements JsonSerializable<MicrosoftGraphLookupColumn>

lookupColumn.

Constructor Summary

Constructor Description
MicrosoftGraphLookupColumn()

Creates an instance of MicrosoftGraphLookupColumn class.

Method Summary

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

Get the additionalProperties property: lookupColumn.

Boolean allowMultipleValues()

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

Boolean allowUnlimitedLength()

Get the allowUnlimitedLength property: Indicates whether values in the column should be able to exceed the standard limit of 255 characters.

String columnName()

Get the columnName property: The name of the lookup source column.

static MicrosoftGraphLookupColumn fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphLookupColumn from the JsonReader.

String listId()

Get the listId property: The unique identifier of the lookup source list.

String primaryLookupColumnId()

Get the primaryLookupColumnId property: If specified, this column is a secondary lookup, pulling an additional field from the list item looked up by the primary lookup.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphLookupColumn withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: lookupColumn.

MicrosoftGraphLookupColumn withAllowMultipleValues(Boolean allowMultipleValues)

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

MicrosoftGraphLookupColumn withAllowUnlimitedLength(Boolean allowUnlimitedLength)

Set the allowUnlimitedLength property: Indicates whether values in the column should be able to exceed the standard limit of 255 characters.

MicrosoftGraphLookupColumn withColumnName(String columnName)

Set the columnName property: The name of the lookup source column.

MicrosoftGraphLookupColumn withListId(String listId)

Set the listId property: The unique identifier of the lookup source list.

MicrosoftGraphLookupColumn withPrimaryLookupColumnId(String primaryLookupColumnId)

Set the primaryLookupColumnId property: If specified, this column is a secondary lookup, pulling an additional field from the list item looked up by the primary lookup.

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphLookupColumn

public MicrosoftGraphLookupColumn()

Creates an instance of MicrosoftGraphLookupColumn class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: lookupColumn.

Returns:

the additionalProperties value.

allowMultipleValues

public Boolean allowMultipleValues()

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

Returns:

the allowMultipleValues value.

allowUnlimitedLength

public Boolean allowUnlimitedLength()

Get the allowUnlimitedLength property: Indicates whether values in the column should be able to exceed the standard limit of 255 characters.

Returns:

the allowUnlimitedLength value.

columnName

public String columnName()

Get the columnName property: The name of the lookup source column.

Returns:

the columnName value.

fromJson

public static MicrosoftGraphLookupColumn fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphLookupColumn from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphLookupColumn 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 MicrosoftGraphLookupColumn.

listId

public String listId()

Get the listId property: The unique identifier of the lookup source list.

Returns:

the listId value.

primaryLookupColumnId

public String primaryLookupColumnId()

Get the primaryLookupColumnId property: If specified, this column is a secondary lookup, pulling an additional field from the list item looked up by the primary lookup. Use the list item looked up by the primary as the source for the column named here.

Returns:

the primaryLookupColumnId value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAdditionalProperties

public MicrosoftGraphLookupColumn withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: lookupColumn.

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphLookupColumn object itself.

withAllowMultipleValues

public MicrosoftGraphLookupColumn withAllowMultipleValues(Boolean allowMultipleValues)

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

Parameters:

allowMultipleValues - the allowMultipleValues value to set.

Returns:

the MicrosoftGraphLookupColumn object itself.

withAllowUnlimitedLength

public MicrosoftGraphLookupColumn withAllowUnlimitedLength(Boolean allowUnlimitedLength)

Set the allowUnlimitedLength property: Indicates whether values in the column should be able to exceed the standard limit of 255 characters.

Parameters:

allowUnlimitedLength - the allowUnlimitedLength value to set.

Returns:

the MicrosoftGraphLookupColumn object itself.

withColumnName

public MicrosoftGraphLookupColumn withColumnName(String columnName)

Set the columnName property: The name of the lookup source column.

Parameters:

columnName - the columnName value to set.

Returns:

the MicrosoftGraphLookupColumn object itself.

withListId

public MicrosoftGraphLookupColumn withListId(String listId)

Set the listId property: The unique identifier of the lookup source list.

Parameters:

listId - the listId value to set.

Returns:

the MicrosoftGraphLookupColumn object itself.

withPrimaryLookupColumnId

public MicrosoftGraphLookupColumn withPrimaryLookupColumnId(String primaryLookupColumnId)

Set the primaryLookupColumnId property: If specified, this column is a secondary lookup, pulling an additional field from the list item looked up by the primary lookup. Use the list item looked up by the primary as the source for the column named here.

Parameters:

primaryLookupColumnId - the primaryLookupColumnId value to set.

Returns:

the MicrosoftGraphLookupColumn object itself.

Applies to