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.MicrosoftGraphCalculatedColumncalculated()Get the calculated property: calculatedColumn.MicrosoftGraphChoiceColumnchoice()Get the choice property: choiceColumn.StringcolumnGroup()Get the columnGroup property: For site columns, the name of the group this column belongs to.MicrosoftGraphCurrencyColumncurrency()Get the currency property: currencyColumn.MicrosoftGraphDateTimeColumndateTime()Get the dateTime property: dateTimeColumn.MicrosoftGraphDefaultColumnValuedefaultValue()Get the defaultValue property: defaultColumnValue.Stringdescription()Get the description property: The user-facing description of the column.StringdisplayName()Get the displayName property: The user-facing name of the column.BooleanenforceUniqueValues()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.Booleanhidden()Get the hidden property: Specifies whether the column is displayed in the user interface.Booleanindexed()Get the indexed property: Specifies whether the column values can used for sorting and searching.MicrosoftGraphLookupColumnlookup()Get the lookup property: lookupColumn.Stringname()Get the name property: The API-facing name of the column as it appears in the [fields][] on a [listItem][].MicrosoftGraphNumberColumnnumber()Get the number property: numberColumn.MicrosoftGraphPersonOrGroupColumnpersonOrGroup()Get the personOrGroup property: personOrGroupColumn.BooleanreadOnly()Get the readOnly property: Specifies whether the column values can be modified.Booleanrequired()Get the required property: Specifies whether the column value is not optional.MicrosoftGraphTextColumntext()Get the text property: textColumn.voidvalidate()Validates the instance.MicrosoftGraphColumnDefinitionwithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: columnDefinition.MicrosoftGraphColumnDefinitionwithBooleanProperty(Map<String,Object> booleanProperty)Set the booleanProperty property: booleanColumn.MicrosoftGraphColumnDefinitionwithCalculated(MicrosoftGraphCalculatedColumn calculated)Set the calculated property: calculatedColumn.MicrosoftGraphColumnDefinitionwithChoice(MicrosoftGraphChoiceColumn choice)Set the choice property: choiceColumn.MicrosoftGraphColumnDefinitionwithColumnGroup(String columnGroup)Set the columnGroup property: For site columns, the name of the group this column belongs to.MicrosoftGraphColumnDefinitionwithCurrency(MicrosoftGraphCurrencyColumn currency)Set the currency property: currencyColumn.MicrosoftGraphColumnDefinitionwithDateTime(MicrosoftGraphDateTimeColumn dateTime)Set the dateTime property: dateTimeColumn.MicrosoftGraphColumnDefinitionwithDefaultValue(MicrosoftGraphDefaultColumnValue defaultValue)Set the defaultValue property: defaultColumnValue.MicrosoftGraphColumnDefinitionwithDescription(String description)Set the description property: The user-facing description of the column.MicrosoftGraphColumnDefinitionwithDisplayName(String displayName)Set the displayName property: The user-facing name of the column.MicrosoftGraphColumnDefinitionwithEnforceUniqueValues(Boolean enforceUniqueValues)Set the enforceUniqueValues property: If true, no two list items may have the same value for this column.MicrosoftGraphColumnDefinitionwithGeolocation(Map<String,Object> geolocation)Set the geolocation property: geolocationColumn.MicrosoftGraphColumnDefinitionwithHidden(Boolean hidden)Set the hidden property: Specifies whether the column is displayed in the user interface.MicrosoftGraphColumnDefinitionwithId(String id)Set the id property: Read-only.MicrosoftGraphColumnDefinitionwithIndexed(Boolean indexed)Set the indexed property: Specifies whether the column values can used for sorting and searching.MicrosoftGraphColumnDefinitionwithLookup(MicrosoftGraphLookupColumn lookup)Set the lookup property: lookupColumn.MicrosoftGraphColumnDefinitionwithName(String name)Set the name property: The API-facing name of the column as it appears in the [fields][] on a [listItem][].MicrosoftGraphColumnDefinitionwithNumber(MicrosoftGraphNumberColumn number)Set the number property: numberColumn.MicrosoftGraphColumnDefinitionwithPersonOrGroup(MicrosoftGraphPersonOrGroupColumn personOrGroup)Set the personOrGroup property: personOrGroupColumn.MicrosoftGraphColumnDefinitionwithReadOnly(Boolean readOnly)Set the readOnly property: Specifies whether the column values can be modified.MicrosoftGraphColumnDefinitionwithRequired(Boolean required)Set the required property: Specifies whether the column value is not optional.MicrosoftGraphColumnDefinitionwithText(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:
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
public MicrosoftGraphColumnDefinition withId(String id)
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.
-
-