Class MicrosoftGraphColumnDefinition
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphColumnDefinition
-
public final class MicrosoftGraphColumnDefinition extends MicrosoftGraphEntity
columnDefinition.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphColumnDefinition()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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 class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
booleanProperty
public Map<String,Object> booleanProperty()
Get the booleanProperty property: booleanColumn.- Returns:
- the booleanProperty value.
-
withBooleanProperty
public MicrosoftGraphColumnDefinition withBooleanProperty(Map<String,Object> booleanProperty)
Set the booleanProperty property: booleanColumn.- Parameters:
booleanProperty
- the booleanProperty value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
calculated
public MicrosoftGraphCalculatedColumn calculated()
Get the calculated property: calculatedColumn.- Returns:
- the calculated value.
-
withCalculated
public MicrosoftGraphColumnDefinition withCalculated(MicrosoftGraphCalculatedColumn calculated)
Set the calculated property: calculatedColumn.- Parameters:
calculated
- the calculated value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
choice
public MicrosoftGraphChoiceColumn choice()
Get the choice property: choiceColumn.- Returns:
- the choice value.
-
withChoice
public MicrosoftGraphColumnDefinition withChoice(MicrosoftGraphChoiceColumn choice)
Set the choice property: choiceColumn.- Parameters:
choice
- the choice value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
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.
-
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.
-
currency
public MicrosoftGraphCurrencyColumn currency()
Get the currency property: currencyColumn.- Returns:
- the currency value.
-
withCurrency
public MicrosoftGraphColumnDefinition withCurrency(MicrosoftGraphCurrencyColumn currency)
Set the currency property: currencyColumn.- Parameters:
currency
- the currency value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
dateTime
public MicrosoftGraphDateTimeColumn dateTime()
Get the dateTime property: dateTimeColumn.- Returns:
- the dateTime value.
-
withDateTime
public MicrosoftGraphColumnDefinition withDateTime(MicrosoftGraphDateTimeColumn dateTime)
Set the dateTime property: dateTimeColumn.- Parameters:
dateTime
- the dateTime value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
defaultValue
public MicrosoftGraphDefaultColumnValue 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
public String description()
Get the description property: The user-facing description of the column.- Returns:
- the description value.
-
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.
-
displayName
public String displayName()
Get the displayName property: The user-facing name of the column.- Returns:
- the displayName value.
-
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.
-
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.
-
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.
-
geolocation
public Map<String,Object> geolocation()
Get the geolocation property: geolocationColumn.- Returns:
- the geolocation value.
-
withGeolocation
public MicrosoftGraphColumnDefinition withGeolocation(Map<String,Object> geolocation)
Set the geolocation property: geolocationColumn.- Parameters:
geolocation
- the geolocation value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
hidden
public Boolean hidden()
Get the hidden property: Specifies whether the column is displayed in the user interface.- Returns:
- the hidden value.
-
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.
-
indexed
public Boolean indexed()
Get the indexed property: Specifies whether the column values can used for sorting and searching.- Returns:
- the indexed value.
-
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.
-
lookup
public MicrosoftGraphLookupColumn lookup()
Get the lookup property: lookupColumn.- Returns:
- the lookup value.
-
withLookup
public MicrosoftGraphColumnDefinition withLookup(MicrosoftGraphLookupColumn lookup)
Set the lookup property: lookupColumn.- Parameters:
lookup
- the lookup value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
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.
-
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.
-
number
public MicrosoftGraphNumberColumn number()
Get the number property: numberColumn.- Returns:
- the number value.
-
withNumber
public MicrosoftGraphColumnDefinition withNumber(MicrosoftGraphNumberColumn number)
Set the number property: numberColumn.- Parameters:
number
- the number value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
personOrGroup
public MicrosoftGraphPersonOrGroupColumn 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
public Boolean readOnly()
Get the readOnly property: Specifies whether the column values can be modified.- Returns:
- the readOnly value.
-
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.
-
required
public Boolean required()
Get the required property: Specifies whether the column value is not optional.- Returns:
- the required value.
-
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.
-
text
public MicrosoftGraphTextColumn text()
Get the text property: textColumn.- Returns:
- the text value.
-
withText
public MicrosoftGraphColumnDefinition withText(MicrosoftGraphTextColumn text)
Set the text property: textColumn.- Parameters:
text
- the text value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: columnDefinition.- Overrides:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphColumnDefinition withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: columnDefinition.- Overrides:
withAdditionalProperties
in classMicrosoftGraphEntity
- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphColumnDefinition object itself.
-
withId
public MicrosoftGraphColumnDefinition withId(String id)
Set the id property: Read-only.- Overrides:
withId
in classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-