Class MicrosoftGraphColumnDefinition
java.lang.Object
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphColumnDefinition
columnDefinition.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of MicrosoftGraphColumnDefinition class. -
Method Summary
Modifier and TypeMethodDescriptionGet the additionalProperties property: columnDefinition.Get the booleanProperty property: booleanColumn.Get the calculated property: calculatedColumn.choice()Get the choice property: choiceColumn.Get the columnGroup property: For site columns, the name of the group this column belongs to.currency()Get the currency property: currencyColumn.dateTime()Get the dateTime property: dateTimeColumn.Get the defaultValue property: defaultColumnValue.Get the description property: The user-facing description of the column.Get the displayName property: The user-facing name of the column.Get the enforceUniqueValues property: If true, no two list items may have the same value for this column.Get the geolocation property: geolocationColumn.hidden()Get the hidden property: Specifies whether the column is displayed in the user interface.indexed()Get the indexed property: Specifies whether the column values can used for sorting and searching.lookup()Get the lookup property: lookupColumn.name()Get the name property: The API-facing name of the column as it appears in the [fields][] on a [listItem][].number()Get the number property: numberColumn.Get the personOrGroup property: personOrGroupColumn.readOnly()Get the readOnly property: Specifies whether the column values can be modified.required()Get the required property: Specifies whether the column value is not optional.text()Get the text property: textColumn.voidvalidate()Validates the instance.withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: columnDefinition.withBooleanProperty(Map<String, Object> booleanProperty) Set the booleanProperty property: booleanColumn.withCalculated(MicrosoftGraphCalculatedColumn calculated) Set the calculated property: calculatedColumn.withChoice(MicrosoftGraphChoiceColumn choice) Set the choice property: choiceColumn.withColumnGroup(String columnGroup) Set the columnGroup property: For site columns, the name of the group this column belongs to.withCurrency(MicrosoftGraphCurrencyColumn currency) Set the currency property: currencyColumn.withDateTime(MicrosoftGraphDateTimeColumn dateTime) Set the dateTime property: dateTimeColumn.withDefaultValue(MicrosoftGraphDefaultColumnValue defaultValue) Set the defaultValue property: defaultColumnValue.withDescription(String description) Set the description property: The user-facing description of the column.withDisplayName(String displayName) Set the displayName property: The user-facing name of the column.withEnforceUniqueValues(Boolean enforceUniqueValues) Set the enforceUniqueValues property: If true, no two list items may have the same value for this column.withGeolocation(Map<String, Object> geolocation) Set the geolocation property: geolocationColumn.withHidden(Boolean hidden) Set the hidden property: Specifies whether the column is displayed in the user interface.Set the id property: Read-only.withIndexed(Boolean indexed) Set the indexed property: Specifies whether the column values can used for sorting and searching.withLookup(MicrosoftGraphLookupColumn lookup) Set the lookup property: lookupColumn.Set the name property: The API-facing name of the column as it appears in the [fields][] on a [listItem][].withNumber(MicrosoftGraphNumberColumn number) Set the number property: numberColumn.withPersonOrGroup(MicrosoftGraphPersonOrGroupColumn personOrGroup) Set the personOrGroup property: personOrGroupColumn.withReadOnly(Boolean readOnly) Set the readOnly property: Specifies whether the column values can be modified.withRequired(Boolean required) Set the required property: Specifies whether the column value is not optional.Set the text property: textColumn.Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
Constructor Details
-
MicrosoftGraphColumnDefinition
public MicrosoftGraphColumnDefinition()Creates an instance of MicrosoftGraphColumnDefinition class.
-
-
Method Details
-
booleanProperty
Get the booleanProperty property: booleanColumn.- Returns:
- the booleanProperty value.
-
withBooleanProperty
Set the booleanProperty property: booleanColumn.- Parameters:
booleanProperty- the booleanProperty value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
calculated
Get the calculated property: calculatedColumn.- Returns:
- the calculated value.
-
withCalculated
Set the calculated property: calculatedColumn.- Parameters:
calculated- the calculated value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
choice
Get the choice property: choiceColumn.- Returns:
- the choice value.
-
withChoice
Set the choice property: choiceColumn.- Parameters:
choice- the choice value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
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.
-
withColumnGroup
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.
-
currency
Get the currency property: currencyColumn.- Returns:
- the currency value.
-
withCurrency
Set the currency property: currencyColumn.- Parameters:
currency- the currency value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
dateTime
Get the dateTime property: dateTimeColumn.- Returns:
- the dateTime value.
-
withDateTime
Set the dateTime property: dateTimeColumn.- Parameters:
dateTime- the dateTime value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
defaultValue
Get the defaultValue property: defaultColumnValue.- Returns:
- the defaultValue value.
-
withDefaultValue
public MicrosoftGraphColumnDefinition withDefaultValue(MicrosoftGraphDefaultColumnValue defaultValue) Set the defaultValue property: defaultColumnValue.- Parameters:
defaultValue- the defaultValue value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
description
Get the description property: The user-facing description of the column.- Returns:
- the description value.
-
withDescription
Set the description property: The user-facing description of the column.- Parameters:
description- the description value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
displayName
Get the displayName property: The user-facing name of the column.- Returns:
- the displayName value.
-
withDisplayName
Set the displayName property: The user-facing name of the column.- Parameters:
displayName- the displayName value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
enforceUniqueValues
Get the enforceUniqueValues property: If true, no two list items may have the same value for this column.- Returns:
- the enforceUniqueValues value.
-
withEnforceUniqueValues
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.
-
geolocation
Get the geolocation property: geolocationColumn.- Returns:
- the geolocation value.
-
withGeolocation
Set the geolocation property: geolocationColumn.- Parameters:
geolocation- the geolocation value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
withHidden
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.
-
indexed
Get the indexed property: Specifies whether the column values can used for sorting and searching.- Returns:
- the indexed value.
-
withIndexed
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.
-
lookup
Get the lookup property: lookupColumn.- Returns:
- the lookup value.
-
withLookup
Set the lookup property: lookupColumn.- Parameters:
lookup- the lookup value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
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.
-
withName
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.
-
number
Get the number property: numberColumn.- Returns:
- the number value.
-
withNumber
Set the number property: numberColumn.- Parameters:
number- the number value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
personOrGroup
Get the personOrGroup property: personOrGroupColumn.- Returns:
- the personOrGroup value.
-
withPersonOrGroup
public MicrosoftGraphColumnDefinition withPersonOrGroup(MicrosoftGraphPersonOrGroupColumn personOrGroup) Set the personOrGroup property: personOrGroupColumn.- Parameters:
personOrGroup- the personOrGroup value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
readOnly
Get the readOnly property: Specifies whether the column values can be modified.- Returns:
- the readOnly value.
-
withReadOnly
Set the readOnly property: Specifies whether the column values can be modified.- Parameters:
readOnly- the readOnly value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
required
Get the required property: Specifies whether the column value is not optional.- Returns:
- the required value.
-
withRequired
Set the required property: Specifies whether the column value is not optional.- Parameters:
required- the required value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
text
Get the text property: textColumn.- Returns:
- the text value.
-
withText
Set the text property: textColumn.- Parameters:
text- the text value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
additionalProperties
Get the additionalProperties property: columnDefinition.- Overrides:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphColumnDefinition withAdditionalProperties(Map<String, Object> additionalProperties) Set the additionalProperties property: columnDefinition.- Overrides:
withAdditionalPropertiesin classMicrosoftGraphEntity- Parameters:
additionalProperties- the additionalProperties value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
withId
Set the id property: Read-only.- Overrides:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-