Package com.microsoft.graph.models
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
-
Field Summary
Fields inherited from class com.microsoft.graph.models.Entity
backingStore
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ColumnDefinition
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the boolean property value.Gets the calculated property value.Gets the choice property value.Gets the columnGroup property value.Gets the contentApprovalStatus property value.Gets the currency property value.Gets the dateTime property value.Gets the defaultValue property value.Gets the description property value.Gets the displayName property value.Gets the enforceUniqueValues property value.The deserialization information for the current modelGets the geolocation property value.Gets the hidden property value.Gets the hyperlinkOrPicture property value.Gets the indexed property value.Gets the isDeletable property value.Gets the isReorderable property value.Gets the isSealed property value.Gets the lookup property value.getName()
Gets the name property value.Gets the number property value.Gets the personOrGroup property value.Gets the propagateChanges property value.Gets the readOnly property value.Gets the required property value.Gets the sourceColumn property value.Gets the sourceContentType property value.getTerm()
Gets the term property value.getText()
Gets the text property value.Gets the thumbnail property value.getType()
Gets the type property value.Gets the validation property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setBoolean
(BooleanColumn value) Sets the boolean property value.void
setCalculated
(CalculatedColumn value) Sets the calculated property value.void
setChoice
(ChoiceColumn value) Sets the choice property value.void
setColumnGroup
(String value) Sets the columnGroup property value.void
Sets the contentApprovalStatus property value.void
setCurrency
(CurrencyColumn value) Sets the currency property value.void
setDateTime
(DateTimeColumn value) Sets the dateTime property value.void
Sets the defaultValue property value.void
setDescription
(String value) Sets the description property value.void
setDisplayName
(String value) Sets the displayName property value.void
setEnforceUniqueValues
(Boolean value) Sets the enforceUniqueValues property value.void
setGeolocation
(GeolocationColumn value) Sets the geolocation property value.void
Sets the hidden property value.void
Sets the hyperlinkOrPicture property value.void
setIndexed
(Boolean value) Sets the indexed property value.void
setIsDeletable
(Boolean value) Sets the isDeletable property value.void
setIsReorderable
(Boolean value) Sets the isReorderable property value.void
setIsSealed
(Boolean value) Sets the isSealed property value.void
setLookup
(LookupColumn value) Sets the lookup property value.void
Sets the name property value.void
setNumber
(NumberColumn value) Sets the number property value.void
Sets the personOrGroup property value.void
setPropagateChanges
(Boolean value) Sets the propagateChanges property value.void
setReadOnly
(Boolean value) Sets the readOnly property value.void
setRequired
(Boolean value) Sets the required property value.void
setSourceColumn
(ColumnDefinition value) Sets the sourceColumn property value.void
Sets the sourceContentType property value.void
setTerm
(TermColumn value) Sets the term property value.void
setText
(TextColumn value) Sets the text property value.void
setThumbnail
(ThumbnailColumn value) Sets the thumbnail property value.void
setType
(ColumnTypes value) Sets the type property value.void
setValidation
(ColumnValidation value) Sets the validation property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
ColumnDefinition
public ColumnDefinition()Instantiates a newColumnDefinition
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
Gets the boolean property value. This column stores Boolean values.- Returns:
- a
BooleanColumn
-
getCalculated
Gets the calculated property value. This column's data is calculated based on other columns.- Returns:
- a
CalculatedColumn
-
getChoice
Gets the choice property value. This column stores data from a list of choices.- Returns:
- a
ChoiceColumn
-
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
Gets the contentApprovalStatus property value. This column stores content approval status.- Returns:
- a
ContentApprovalStatusColumn
-
getCurrency
Gets the currency property value. This column stores currency values.- Returns:
- a
CurrencyColumn
-
getDateTime
Gets the dateTime property value. This column stores DateTime values.- Returns:
- a
DateTimeColumn
-
getDefaultValue
Gets the defaultValue property value. The default value for this column.- Returns:
- a
DefaultColumnValue
-
getDescription
Gets the description property value. The user-facing description of the column.- Returns:
- a
String
-
getDisplayName
Gets the displayName property value. The user-facing name of the column.- Returns:
- a
String
-
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 interfacecom.microsoft.kiota.serialization.Parsable
- Overrides:
getFieldDeserializers
in classEntity
- Returns:
- a
Map<String,
Consumer<com.microsoft.kiota.serialization.ParseNode>>
-
getGeolocation
Gets the geolocation property value. This column stores a geolocation.- Returns:
- a
GeolocationColumn
-
getHidden
Gets the hidden property value. Specifies whether the column is displayed in the user interface.- Returns:
- a
Boolean
-
getHyperlinkOrPicture
Gets the hyperlinkOrPicture property value. This column stores hyperlink or picture values.- Returns:
- a
HyperlinkOrPictureColumn
-
getIndexed
Gets the indexed property value. Specifies whether the column values can be used for sorting and searching.- Returns:
- a
Boolean
-
getIsDeletable
Gets the isDeletable property value. Indicates whether this column can be deleted.- Returns:
- a
Boolean
-
getIsReorderable
Gets the isReorderable property value. Indicates whether values in the column can be reordered. Read-only.- Returns:
- a
Boolean
-
getIsSealed
Gets the isSealed property value. Specifies whether the column can be changed.- Returns:
- a
Boolean
-
getLookup
Gets the lookup property value. This column's data is looked up from another source in the site.- Returns:
- a
LookupColumn
-
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
Gets the number property value. This column stores number values.- Returns:
- a
NumberColumn
-
getPersonOrGroup
Gets the personOrGroup property value. This column stores Person or Group values.- Returns:
- a
PersonOrGroupColumn
-
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
Gets the readOnly property value. Specifies whether the column values can be modified.- Returns:
- a
Boolean
-
getRequired
Gets the required property value. Specifies whether the column value isn't optional.- Returns:
- a
Boolean
-
getSourceColumn
Gets the sourceColumn property value. The source column for the content type column.- Returns:
- a
ColumnDefinition
-
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
Gets the term property value. This column stores taxonomy terms.- Returns:
- a
TermColumn
-
getText
Gets the text property value. This column stores text values.- Returns:
- a
TextColumn
-
getThumbnail
Gets the thumbnail property value. This column stores thumbnail values.- Returns:
- a
ThumbnailColumn
-
getType
Gets the type property value. For site columns, the type of column. Read-only.- Returns:
- a
ColumnTypes
-
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 -
setBoolean
Sets the boolean property value. This column stores Boolean values.- Parameters:
value
- Value to set for the boolean property.
-
setCalculated
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
Sets the choice property value. This column stores data from a list of choices.- Parameters:
value
- Value to set for the choice property.
-
setColumnGroup
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
Sets the contentApprovalStatus property value. This column stores content approval status.- Parameters:
value
- Value to set for the contentApprovalStatus property.
-
setCurrency
Sets the currency property value. This column stores currency values.- Parameters:
value
- Value to set for the currency property.
-
setDateTime
Sets the dateTime property value. This column stores DateTime values.- Parameters:
value
- Value to set for the dateTime property.
-
setDefaultValue
Sets the defaultValue property value. The default value for this column.- Parameters:
value
- Value to set for the defaultValue property.
-
setDescription
Sets the description property value. The user-facing description of the column.- Parameters:
value
- Value to set for the description property.
-
setDisplayName
Sets the displayName property value. The user-facing name of the column.- Parameters:
value
- Value to set for the displayName property.
-
setEnforceUniqueValues
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
Sets the geolocation property value. This column stores a geolocation.- Parameters:
value
- Value to set for the geolocation property.
-
setHidden
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
Sets the hyperlinkOrPicture property value. This column stores hyperlink or picture values.- Parameters:
value
- Value to set for the hyperlinkOrPicture property.
-
setIndexed
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
Sets the isDeletable property value. Indicates whether this column can be deleted.- Parameters:
value
- Value to set for the isDeletable property.
-
setIsReorderable
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
Sets the isSealed property value. Specifies whether the column can be changed.- Parameters:
value
- Value to set for the isSealed property.
-
setLookup
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
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
Sets the number property value. This column stores number values.- Parameters:
value
- Value to set for the number property.
-
setPersonOrGroup
Sets the personOrGroup property value. This column stores Person or Group values.- Parameters:
value
- Value to set for the personOrGroup property.
-
setPropagateChanges
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
Sets the readOnly property value. Specifies whether the column values can be modified.- Parameters:
value
- Value to set for the readOnly property.
-
setRequired
Sets the required property value. Specifies whether the column value isn't optional.- Parameters:
value
- Value to set for the required property.
-
setSourceColumn
Sets the sourceColumn property value. The source column for the content type column.- Parameters:
value
- Value to set for the sourceColumn property.
-
setSourceContentType
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
Sets the term property value. This column stores taxonomy terms.- Parameters:
value
- Value to set for the term property.
-
setText
Sets the text property value. This column stores text values.- Parameters:
value
- Value to set for the text property.
-
setThumbnail
Sets the thumbnail property value. This column stores thumbnail values.- Parameters:
value
- Value to set for the thumbnail property.
-
setType
Sets the type property value. For site columns, the type of column. Read-only.- Parameters:
value
- Value to set for the type property.
-
setValidation
Sets the validation property value. This column stores validation formula and message for the column.- Parameters:
value
- Value to set for the validation property.
-