Class ColumnDefinition

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.ColumnDefinition
All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder, com.microsoft.kiota.serialization.Parsable, com.microsoft.kiota.store.BackedModel

@Generated("com.microsoft.kiota") public class ColumnDefinition extends Entity implements com.microsoft.kiota.serialization.Parsable
  • Constructor Details

    • ColumnDefinition

      public ColumnDefinition()
      Instantiates a new ColumnDefinition and sets the default values.
  • Method Details

    • createFromDiscriminatorValue

      @Nonnull public static ColumnDefinition createFromDiscriminatorValue(@Nonnull com.microsoft.kiota.serialization.ParseNode parseNode)
      Creates a new instance of the appropriate class based on discriminator value
      Parameters:
      parseNode - The parse node to use to read the discriminator value and create the object
      Returns:
      a ColumnDefinition
    • getBoolean

      @Nullable public BooleanColumn getBoolean()
      Gets the boolean property value. This column stores Boolean values.
      Returns:
      a BooleanColumn
    • getCalculated

      @Nullable public CalculatedColumn getCalculated()
      Gets the calculated property value. This column's data is calculated based on other columns.
      Returns:
      a CalculatedColumn
    • getChoice

      @Nullable public ChoiceColumn getChoice()
      Gets the choice property value. This column stores data from a list of choices.
      Returns:
      a ChoiceColumn
    • getColumnGroup

      @Nullable public String getColumnGroup()
      Gets the columnGroup property value. For site columns, the name of the group this column belongs to. Helps organize related columns.
      Returns:
      a String
    • getContentApprovalStatus

      @Nullable public ContentApprovalStatusColumn getContentApprovalStatus()
      Gets the contentApprovalStatus property value. This column stores content approval status.
      Returns:
      a ContentApprovalStatusColumn
    • getCurrency

      @Nullable public CurrencyColumn getCurrency()
      Gets the currency property value. This column stores currency values.
      Returns:
      a CurrencyColumn
    • getDateTime

      @Nullable public DateTimeColumn getDateTime()
      Gets the dateTime property value. This column stores DateTime values.
      Returns:
      a DateTimeColumn
    • getDefaultValue

      @Nullable public DefaultColumnValue getDefaultValue()
      Gets the defaultValue property value. The default value for this column.
      Returns:
      a DefaultColumnValue
    • getDescription

      @Nullable public String getDescription()
      Gets the description property value. The user-facing description of the column.
      Returns:
      a String
    • getDisplayName

      @Nullable public String getDisplayName()
      Gets the displayName property value. The user-facing name of the column.
      Returns:
      a String
    • getEnforceUniqueValues

      @Nullable public Boolean getEnforceUniqueValues()
      Gets the enforceUniqueValues property value. If true, no two list items may have the same value for this column.
      Returns:
      a Boolean
    • getFieldDeserializers

      @Nonnull public Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>> getFieldDeserializers()
      The deserialization information for the current model
      Specified by:
      getFieldDeserializers in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getGeolocation

      @Nullable public GeolocationColumn getGeolocation()
      Gets the geolocation property value. This column stores a geolocation.
      Returns:
      a GeolocationColumn
    • getHidden

      @Nullable public Boolean getHidden()
      Gets the hidden property value. Specifies whether the column is displayed in the user interface.
      Returns:
      a Boolean
    • getHyperlinkOrPicture

      @Nullable public HyperlinkOrPictureColumn getHyperlinkOrPicture()
      Gets the hyperlinkOrPicture property value. This column stores hyperlink or picture values.
      Returns:
      a HyperlinkOrPictureColumn
    • getIndexed

      @Nullable public Boolean getIndexed()
      Gets the indexed property value. Specifies whether the column values can be used for sorting and searching.
      Returns:
      a Boolean
    • getIsDeletable

      @Nullable public Boolean getIsDeletable()
      Gets the isDeletable property value. Indicates whether this column can be deleted.
      Returns:
      a Boolean
    • getIsReorderable

      @Nullable public Boolean getIsReorderable()
      Gets the isReorderable property value. Indicates whether values in the column can be reordered. Read-only.
      Returns:
      a Boolean
    • getIsSealed

      @Nullable public Boolean getIsSealed()
      Gets the isSealed property value. Specifies whether the column can be changed.
      Returns:
      a Boolean
    • getLookup

      @Nullable public LookupColumn getLookup()
      Gets the lookup property value. This column's data is looked up from another source in the site.
      Returns:
      a LookupColumn
    • getName

      @Nullable public String getName()
      Gets the name property value. The API-facing name of the column as it appears in the fields on a listItem. For the user-facing name, see displayName.
      Returns:
      a String
    • getNumber

      @Nullable public NumberColumn getNumber()
      Gets the number property value. This column stores number values.
      Returns:
      a NumberColumn
    • getPersonOrGroup

      @Nullable public PersonOrGroupColumn getPersonOrGroup()
      Gets the personOrGroup property value. This column stores Person or Group values.
      Returns:
      a PersonOrGroupColumn
    • getPropagateChanges

      @Nullable public Boolean getPropagateChanges()
      Gets the propagateChanges property value. If 'true', changes to this column will be propagated to lists that implement the column.
      Returns:
      a Boolean
    • getReadOnly

      @Nullable public Boolean getReadOnly()
      Gets the readOnly property value. Specifies whether the column values can be modified.
      Returns:
      a Boolean
    • getRequired

      @Nullable public Boolean getRequired()
      Gets the required property value. Specifies whether the column value isn't optional.
      Returns:
      a Boolean
    • getSourceColumn

      @Nullable public ColumnDefinition getSourceColumn()
      Gets the sourceColumn property value. The source column for the content type column.
      Returns:
      a ColumnDefinition
    • getSourceContentType

      @Nullable public ContentTypeInfo getSourceContentType()
      Gets the sourceContentType property value. ContentType from which this column is inherited from. Present only in contentTypes columns response. Read-only.
      Returns:
      a ContentTypeInfo
    • getTerm

      @Nullable public TermColumn getTerm()
      Gets the term property value. This column stores taxonomy terms.
      Returns:
      a TermColumn
    • getText

      @Nullable public TextColumn getText()
      Gets the text property value. This column stores text values.
      Returns:
      a TextColumn
    • getThumbnail

      @Nullable public ThumbnailColumn getThumbnail()
      Gets the thumbnail property value. This column stores thumbnail values.
      Returns:
      a ThumbnailColumn
    • getType

      @Nullable public ColumnTypes getType()
      Gets the type property value. For site columns, the type of column. Read-only.
      Returns:
      a ColumnTypes
    • getValidation

      @Nullable public ColumnValidation getValidation()
      Gets the validation property value. This column stores validation formula and message for the column.
      Returns:
      a ColumnValidation
    • serialize

      public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer)
      Serializes information the current object
      Specified by:
      serialize in interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      serialize in class Entity
      Parameters:
      writer - Serialization writer to use to serialize this model
    • setBoolean

      public void setBoolean(@Nullable BooleanColumn value)
      Sets the boolean property value. This column stores Boolean values.
      Parameters:
      value - Value to set for the boolean property.
    • setCalculated

      public void setCalculated(@Nullable CalculatedColumn value)
      Sets the calculated property value. This column's data is calculated based on other columns.
      Parameters:
      value - Value to set for the calculated property.
    • setChoice

      public void setChoice(@Nullable ChoiceColumn value)
      Sets the choice property value. This column stores data from a list of choices.
      Parameters:
      value - Value to set for the choice property.
    • setColumnGroup

      public void setColumnGroup(@Nullable String value)
      Sets the columnGroup property value. For site columns, the name of the group this column belongs to. Helps organize related columns.
      Parameters:
      value - Value to set for the columnGroup property.
    • setContentApprovalStatus

      public void setContentApprovalStatus(@Nullable ContentApprovalStatusColumn value)
      Sets the contentApprovalStatus property value. This column stores content approval status.
      Parameters:
      value - Value to set for the contentApprovalStatus property.
    • setCurrency

      public void setCurrency(@Nullable CurrencyColumn value)
      Sets the currency property value. This column stores currency values.
      Parameters:
      value - Value to set for the currency property.
    • setDateTime

      public void setDateTime(@Nullable DateTimeColumn value)
      Sets the dateTime property value. This column stores DateTime values.
      Parameters:
      value - Value to set for the dateTime property.
    • setDefaultValue

      public void setDefaultValue(@Nullable DefaultColumnValue value)
      Sets the defaultValue property value. The default value for this column.
      Parameters:
      value - Value to set for the defaultValue property.
    • setDescription

      public void setDescription(@Nullable String value)
      Sets the description property value. The user-facing description of the column.
      Parameters:
      value - Value to set for the description property.
    • setDisplayName

      public void setDisplayName(@Nullable String value)
      Sets the displayName property value. The user-facing name of the column.
      Parameters:
      value - Value to set for the displayName property.
    • setEnforceUniqueValues

      public void setEnforceUniqueValues(@Nullable Boolean value)
      Sets the enforceUniqueValues property value. If true, no two list items may have the same value for this column.
      Parameters:
      value - Value to set for the enforceUniqueValues property.
    • setGeolocation

      public void setGeolocation(@Nullable GeolocationColumn value)
      Sets the geolocation property value. This column stores a geolocation.
      Parameters:
      value - Value to set for the geolocation property.
    • setHidden

      public void setHidden(@Nullable Boolean value)
      Sets the hidden property value. Specifies whether the column is displayed in the user interface.
      Parameters:
      value - Value to set for the hidden property.
    • setHyperlinkOrPicture

      public void setHyperlinkOrPicture(@Nullable HyperlinkOrPictureColumn value)
      Sets the hyperlinkOrPicture property value. This column stores hyperlink or picture values.
      Parameters:
      value - Value to set for the hyperlinkOrPicture property.
    • setIndexed

      public void setIndexed(@Nullable Boolean value)
      Sets the indexed property value. Specifies whether the column values can be used for sorting and searching.
      Parameters:
      value - Value to set for the indexed property.
    • setIsDeletable

      public void setIsDeletable(@Nullable Boolean value)
      Sets the isDeletable property value. Indicates whether this column can be deleted.
      Parameters:
      value - Value to set for the isDeletable property.
    • setIsReorderable

      public void setIsReorderable(@Nullable Boolean value)
      Sets the isReorderable property value. Indicates whether values in the column can be reordered. Read-only.
      Parameters:
      value - Value to set for the isReorderable property.
    • setIsSealed

      public void setIsSealed(@Nullable Boolean value)
      Sets the isSealed property value. Specifies whether the column can be changed.
      Parameters:
      value - Value to set for the isSealed property.
    • setLookup

      public void setLookup(@Nullable LookupColumn value)
      Sets the lookup property value. This column's data is looked up from another source in the site.
      Parameters:
      value - Value to set for the lookup property.
    • setName

      public void setName(@Nullable String value)
      Sets the name property value. The API-facing name of the column as it appears in the fields on a listItem. For the user-facing name, see displayName.
      Parameters:
      value - Value to set for the name property.
    • setNumber

      public void setNumber(@Nullable NumberColumn value)
      Sets the number property value. This column stores number values.
      Parameters:
      value - Value to set for the number property.
    • setPersonOrGroup

      public void setPersonOrGroup(@Nullable PersonOrGroupColumn value)
      Sets the personOrGroup property value. This column stores Person or Group values.
      Parameters:
      value - Value to set for the personOrGroup property.
    • setPropagateChanges

      public void setPropagateChanges(@Nullable Boolean value)
      Sets the propagateChanges property value. If 'true', changes to this column will be propagated to lists that implement the column.
      Parameters:
      value - Value to set for the propagateChanges property.
    • setReadOnly

      public void setReadOnly(@Nullable Boolean value)
      Sets the readOnly property value. Specifies whether the column values can be modified.
      Parameters:
      value - Value to set for the readOnly property.
    • setRequired

      public void setRequired(@Nullable Boolean value)
      Sets the required property value. Specifies whether the column value isn't optional.
      Parameters:
      value - Value to set for the required property.
    • setSourceColumn

      public void setSourceColumn(@Nullable ColumnDefinition value)
      Sets the sourceColumn property value. The source column for the content type column.
      Parameters:
      value - Value to set for the sourceColumn property.
    • setSourceContentType

      public void setSourceContentType(@Nullable ContentTypeInfo value)
      Sets the sourceContentType property value. ContentType from which this column is inherited from. Present only in contentTypes columns response. Read-only.
      Parameters:
      value - Value to set for the sourceContentType property.
    • setTerm

      public void setTerm(@Nullable TermColumn value)
      Sets the term property value. This column stores taxonomy terms.
      Parameters:
      value - Value to set for the term property.
    • setText

      public void setText(@Nullable TextColumn value)
      Sets the text property value. This column stores text values.
      Parameters:
      value - Value to set for the text property.
    • setThumbnail

      public void setThumbnail(@Nullable ThumbnailColumn value)
      Sets the thumbnail property value. This column stores thumbnail values.
      Parameters:
      value - Value to set for the thumbnail property.
    • setType

      public void setType(@Nullable ColumnTypes value)
      Sets the type property value. For site columns, the type of column. Read-only.
      Parameters:
      value - Value to set for the type property.
    • setValidation

      public void setValidation(@Nullable ColumnValidation value)
      Sets the validation property value. This column stores validation formula and message for the column.
      Parameters:
      value - Value to set for the validation property.