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 Details

    • MicrosoftGraphColumnDefinition

      public MicrosoftGraphColumnDefinition()
      Creates an instance of MicrosoftGraphColumnDefinition class.
  • Method Details

    • 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

      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

      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

      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

      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

      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

      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

      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 class MicrosoftGraphEntity
      Returns:
      the additionalProperties value.
    • withAdditionalProperties

      public MicrosoftGraphColumnDefinition withAdditionalProperties(Map<String,Object> additionalProperties)
      Set the additionalProperties property: columnDefinition.
      Overrides:
      withAdditionalProperties in class MicrosoftGraphEntity
      Parameters:
      additionalProperties - the additionalProperties value to set.
      Returns:
      the MicrosoftGraphColumnDefinition object itself.
    • withId

      Set the id property: Read-only.
      Overrides:
      withId in class MicrosoftGraphEntity
      Parameters:
      id - the id value to set.
      Returns:
      the MicrosoftGraphEntity object itself.
    • validate

      public void validate()
      Validates the instance.
      Overrides:
      validate in class MicrosoftGraphEntity
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.