MicrosoftGraphColumnDefinition Class

public final class MicrosoftGraphColumnDefinition
extends MicrosoftGraphEntity

columnDefinition.

Constructor Summary

Constructor Description
MicrosoftGraphColumnDefinition()

Creates an instance of MicrosoftGraphColumnDefinition class.

Method Summary

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

Get the additionalProperties property: columnDefinition.

Map<String,Object> booleanProperty()

Get the booleanProperty property: booleanColumn.

MicrosoftGraphCalculatedColumn calculated()

Get the calculated property: calculatedColumn.

MicrosoftGraphChoiceColumn choice()

Get the choice property: choiceColumn.

String columnGroup()

Get the columnGroup property: For site columns, the name of the group this column belongs to.

MicrosoftGraphCurrencyColumn currency()

Get the currency property: currencyColumn.

MicrosoftGraphDateTimeColumn dateTime()

Get the dateTime property: dateTimeColumn.

MicrosoftGraphDefaultColumnValue defaultValue()

Get the defaultValue property: defaultColumnValue.

String description()

Get the description property: The user-facing description of the column.

String displayName()

Get the displayName property: The user-facing name of the column.

Boolean enforceUniqueValues()

Get the enforceUniqueValues property: If true, no two list items may have the same value for this column.

Map<String,Object> geolocation()

Get the geolocation property: geolocationColumn.

Boolean hidden()

Get the hidden property: Specifies whether the column is displayed in the user interface.

Boolean indexed()

Get the indexed property: Specifies whether the column values can used for sorting and searching.

MicrosoftGraphLookupColumn lookup()

Get the lookup property: lookupColumn.

String name()

Get the name property: The API-facing name of the column as it appears in the [fields][] on a [listItem][].

MicrosoftGraphNumberColumn number()

Get the number property: numberColumn.

MicrosoftGraphPersonOrGroupColumn personOrGroup()

Get the personOrGroup property: personOrGroupColumn.

Boolean readOnly()

Get the readOnly property: Specifies whether the column values can be modified.

Boolean required()

Get the required property: Specifies whether the column value is not optional.

MicrosoftGraphTextColumn text()

Get the text property: textColumn.

void validate()

Validates the instance.

MicrosoftGraphColumnDefinition withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: columnDefinition.

MicrosoftGraphColumnDefinition withBooleanProperty(Map<String,Object> booleanProperty)

Set the booleanProperty property: booleanColumn.

MicrosoftGraphColumnDefinition withCalculated(MicrosoftGraphCalculatedColumn calculated)

Set the calculated property: calculatedColumn.

MicrosoftGraphColumnDefinition withChoice(MicrosoftGraphChoiceColumn choice)

Set the choice property: choiceColumn.

MicrosoftGraphColumnDefinition withColumnGroup(String columnGroup)

Set the columnGroup property: For site columns, the name of the group this column belongs to.

MicrosoftGraphColumnDefinition withCurrency(MicrosoftGraphCurrencyColumn currency)

Set the currency property: currencyColumn.

MicrosoftGraphColumnDefinition withDateTime(MicrosoftGraphDateTimeColumn dateTime)

Set the dateTime property: dateTimeColumn.

MicrosoftGraphColumnDefinition withDefaultValue(MicrosoftGraphDefaultColumnValue defaultValue)

Set the defaultValue property: defaultColumnValue.

MicrosoftGraphColumnDefinition withDescription(String description)

Set the description property: The user-facing description of the column.

MicrosoftGraphColumnDefinition withDisplayName(String displayName)

Set the displayName property: The user-facing name of the column.

MicrosoftGraphColumnDefinition withEnforceUniqueValues(Boolean enforceUniqueValues)

Set the enforceUniqueValues property: If true, no two list items may have the same value for this column.

MicrosoftGraphColumnDefinition withGeolocation(Map<String,Object> geolocation)

Set the geolocation property: geolocationColumn.

MicrosoftGraphColumnDefinition withHidden(Boolean hidden)

Set the hidden property: Specifies whether the column is displayed in the user interface.

MicrosoftGraphColumnDefinition withId(String id)

Set the id property: Read-only.

MicrosoftGraphColumnDefinition withIndexed(Boolean indexed)

Set the indexed property: Specifies whether the column values can used for sorting and searching.

MicrosoftGraphColumnDefinition withLookup(MicrosoftGraphLookupColumn lookup)

Set the lookup property: lookupColumn.

MicrosoftGraphColumnDefinition withName(String name)

Set the name property: The API-facing name of the column as it appears in the [fields][] on a [listItem][].

MicrosoftGraphColumnDefinition withNumber(MicrosoftGraphNumberColumn number)

Set the number property: numberColumn.

MicrosoftGraphColumnDefinition withPersonOrGroup(MicrosoftGraphPersonOrGroupColumn personOrGroup)

Set the personOrGroup property: personOrGroupColumn.

MicrosoftGraphColumnDefinition withReadOnly(Boolean readOnly)

Set the readOnly property: Specifies whether the column values can be modified.

MicrosoftGraphColumnDefinition withRequired(Boolean required)

Set the required property: Specifies whether the column value is not optional.

MicrosoftGraphColumnDefinition withText(MicrosoftGraphTextColumn text)

Set the text property: textColumn.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphColumnDefinition

public MicrosoftGraphColumnDefinition()

Creates an instance of MicrosoftGraphColumnDefinition class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: columnDefinition.

Overrides:

MicrosoftGraphColumnDefinition.additionalProperties()

Returns:

the additionalProperties value.

booleanProperty

public Map booleanProperty()

Get the booleanProperty property: booleanColumn.

Returns:

the booleanProperty value.

calculated

public MicrosoftGraphCalculatedColumn calculated()

Get the calculated property: calculatedColumn.

Returns:

the calculated value.

choice

public MicrosoftGraphChoiceColumn choice()

Get the choice property: choiceColumn.

Returns:

the choice value.

columnGroup

public String columnGroup()

Get the columnGroup property: For site columns, the name of the group this column belongs to. Helps organize related columns.

Returns:

the columnGroup value.

currency

public MicrosoftGraphCurrencyColumn currency()

Get the currency property: currencyColumn.

Returns:

the currency value.

dateTime

public MicrosoftGraphDateTimeColumn dateTime()

Get the dateTime property: dateTimeColumn.

Returns:

the dateTime value.

defaultValue

public MicrosoftGraphDefaultColumnValue defaultValue()

Get the defaultValue property: defaultColumnValue.

Returns:

the defaultValue value.

description

public String description()

Get the description property: The user-facing description of the column.

Returns:

the description value.

displayName

public String displayName()

Get the displayName property: The user-facing name of the column.

Returns:

the displayName value.

enforceUniqueValues

public Boolean enforceUniqueValues()

Get the enforceUniqueValues property: If true, no two list items may have the same value for this column.

Returns:

the enforceUniqueValues value.

geolocation

public Map geolocation()

Get the geolocation property: geolocationColumn.

Returns:

the geolocation value.

hidden

public Boolean hidden()

Get the hidden property: Specifies whether the column is displayed in the user interface.

Returns:

the hidden value.

indexed

public Boolean indexed()

Get the indexed property: Specifies whether the column values can used for sorting and searching.

Returns:

the indexed value.

lookup

public MicrosoftGraphLookupColumn lookup()

Get the lookup property: lookupColumn.

Returns:

the lookup value.

name

public String name()

Get the name property: The API-facing name of the column as it appears in the [fields][] on a [listItem][]. For the user-facing name, see displayName.

Returns:

the name value.

number

public MicrosoftGraphNumberColumn number()

Get the number property: numberColumn.

Returns:

the number value.

personOrGroup

public MicrosoftGraphPersonOrGroupColumn personOrGroup()

Get the personOrGroup property: personOrGroupColumn.

Returns:

the personOrGroup value.

readOnly

public Boolean readOnly()

Get the readOnly property: Specifies whether the column values can be modified.

Returns:

the readOnly value.

required

public Boolean required()

Get the required property: Specifies whether the column value is not optional.

Returns:

the required value.

text

public MicrosoftGraphTextColumn text()

Get the text property: textColumn.

Returns:

the text value.

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphColumnDefinition.validate()

withAdditionalProperties

public MicrosoftGraphColumnDefinition withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: columnDefinition.

Overrides:

MicrosoftGraphColumnDefinition.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphColumnDefinition object itself.

withBooleanProperty

public MicrosoftGraphColumnDefinition withBooleanProperty(Map booleanProperty)

Set the booleanProperty property: booleanColumn.

Parameters:

booleanProperty - the booleanProperty value to set.

Returns:

the MicrosoftGraphColumnDefinition object itself.

withCalculated

public MicrosoftGraphColumnDefinition withCalculated(MicrosoftGraphCalculatedColumn calculated)

Set the calculated property: calculatedColumn.

Parameters:

calculated - the calculated value to set.

Returns:

the MicrosoftGraphColumnDefinition object itself.

withChoice

public MicrosoftGraphColumnDefinition withChoice(MicrosoftGraphChoiceColumn choice)

Set the choice property: choiceColumn.

Parameters:

choice - the choice value to set.

Returns:

the MicrosoftGraphColumnDefinition object itself.

withColumnGroup

public MicrosoftGraphColumnDefinition withColumnGroup(String columnGroup)

Set the columnGroup property: For site columns, the name of the group this column belongs to. Helps organize related columns.

Parameters:

columnGroup - the columnGroup value to set.

Returns:

the MicrosoftGraphColumnDefinition object itself.

withCurrency

public MicrosoftGraphColumnDefinition withCurrency(MicrosoftGraphCurrencyColumn currency)

Set the currency property: currencyColumn.

Parameters:

currency - the currency value to set.

Returns:

the MicrosoftGraphColumnDefinition object itself.

withDateTime

public MicrosoftGraphColumnDefinition withDateTime(MicrosoftGraphDateTimeColumn dateTime)

Set the dateTime property: dateTimeColumn.

Parameters:

dateTime - the dateTime value to set.

Returns:

the MicrosoftGraphColumnDefinition object itself.

withDefaultValue

public MicrosoftGraphColumnDefinition withDefaultValue(MicrosoftGraphDefaultColumnValue defaultValue)

Set the defaultValue property: defaultColumnValue.

Parameters:

defaultValue - the defaultValue value to set.

Returns:

the MicrosoftGraphColumnDefinition object itself.

withDescription

public MicrosoftGraphColumnDefinition withDescription(String description)

Set the description property: The user-facing description of the column.

Parameters:

description - the description value to set.

Returns:

the MicrosoftGraphColumnDefinition object itself.

withDisplayName

public MicrosoftGraphColumnDefinition withDisplayName(String displayName)

Set the displayName property: The user-facing name of the column.

Parameters:

displayName - the displayName value to set.

Returns:

the MicrosoftGraphColumnDefinition object itself.

withEnforceUniqueValues

public MicrosoftGraphColumnDefinition withEnforceUniqueValues(Boolean enforceUniqueValues)

Set the enforceUniqueValues property: If true, no two list items may have the same value for this column.

Parameters:

enforceUniqueValues - the enforceUniqueValues value to set.

Returns:

the MicrosoftGraphColumnDefinition object itself.

withGeolocation

public MicrosoftGraphColumnDefinition withGeolocation(Map geolocation)

Set the geolocation property: geolocationColumn.

Parameters:

geolocation - the geolocation value to set.

Returns:

the MicrosoftGraphColumnDefinition object itself.

withHidden

public MicrosoftGraphColumnDefinition withHidden(Boolean hidden)

Set the hidden property: Specifies whether the column is displayed in the user interface.

Parameters:

hidden - the hidden value to set.

Returns:

the MicrosoftGraphColumnDefinition object itself.

withId

public MicrosoftGraphColumnDefinition withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphColumnDefinition.withId(String id)

Parameters:

id

withIndexed

public MicrosoftGraphColumnDefinition withIndexed(Boolean indexed)

Set the indexed property: Specifies whether the column values can used for sorting and searching.

Parameters:

indexed - the indexed value to set.

Returns:

the MicrosoftGraphColumnDefinition object itself.

withLookup

public MicrosoftGraphColumnDefinition withLookup(MicrosoftGraphLookupColumn lookup)

Set the lookup property: lookupColumn.

Parameters:

lookup - the lookup value to set.

Returns:

the MicrosoftGraphColumnDefinition object itself.

withName

public MicrosoftGraphColumnDefinition withName(String name)

Set the name property: The API-facing name of the column as it appears in the [fields][] on a [listItem][]. For the user-facing name, see displayName.

Parameters:

name - the name value to set.

Returns:

the MicrosoftGraphColumnDefinition object itself.

withNumber

public MicrosoftGraphColumnDefinition withNumber(MicrosoftGraphNumberColumn number)

Set the number property: numberColumn.

Parameters:

number - the number value to set.

Returns:

the MicrosoftGraphColumnDefinition object itself.

withPersonOrGroup

public MicrosoftGraphColumnDefinition withPersonOrGroup(MicrosoftGraphPersonOrGroupColumn personOrGroup)

Set the personOrGroup property: personOrGroupColumn.

Parameters:

personOrGroup - the personOrGroup value to set.

Returns:

the MicrosoftGraphColumnDefinition object itself.

withReadOnly

public MicrosoftGraphColumnDefinition withReadOnly(Boolean readOnly)

Set the readOnly property: Specifies whether the column values can be modified.

Parameters:

readOnly - the readOnly value to set.

Returns:

the MicrosoftGraphColumnDefinition object itself.

withRequired

public MicrosoftGraphColumnDefinition withRequired(Boolean required)

Set the required property: Specifies whether the column value is not optional.

Parameters:

required - the required value to set.

Returns:

the MicrosoftGraphColumnDefinition object itself.

withText

public MicrosoftGraphColumnDefinition withText(MicrosoftGraphTextColumn text)

Set the text property: textColumn.

Parameters:

text - the text value to set.

Returns:

the MicrosoftGraphColumnDefinition object itself.

Applies to