Package com.microsoft.graph.models
Class WorkbookTable
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.WorkbookTable
- All Implemented Interfaces:
com.microsoft.kiota.serialization.AdditionalDataHolder
,com.microsoft.kiota.serialization.Parsable
,com.microsoft.kiota.store.BackedModel
@Generated("com.microsoft.kiota")
public class WorkbookTable
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 WorkbookTable
createFromDiscriminatorValue
(com.microsoft.kiota.serialization.ParseNode parseNode) Creates a new instance of the appropriate class based on discriminator valueGets the columns property value.The deserialization information for the current modelGets the highlightFirstColumn property value.Gets the highlightLastColumn property value.Gets the legacyId property value.getName()
Gets the name property value.getRows()
Gets the rows property value.Gets the showBandedColumns property value.Gets the showBandedRows property value.Gets the showFilterButton property value.Gets the showHeaders property value.Gets the showTotals property value.getSort()
Gets the sort property value.getStyle()
Gets the style property value.Gets the worksheet property value.void
serialize
(com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current objectvoid
setColumns
(List<WorkbookTableColumn> value) Sets the columns property value.void
setHighlightFirstColumn
(Boolean value) Sets the highlightFirstColumn property value.void
setHighlightLastColumn
(Boolean value) Sets the highlightLastColumn property value.void
setLegacyId
(String value) Sets the legacyId property value.void
Sets the name property value.void
setRows
(List<WorkbookTableRow> value) Sets the rows property value.void
setShowBandedColumns
(Boolean value) Sets the showBandedColumns property value.void
setShowBandedRows
(Boolean value) Sets the showBandedRows property value.void
setShowFilterButton
(Boolean value) Sets the showFilterButton property value.void
setShowHeaders
(Boolean value) Sets the showHeaders property value.void
setShowTotals
(Boolean value) Sets the showTotals property value.void
setSort
(WorkbookTableSort value) Sets the sort property value.void
Sets the style property value.void
setWorksheet
(WorkbookWorksheet value) Sets the worksheet property value.Methods inherited from class com.microsoft.graph.models.Entity
getAdditionalData, getBackingStore, getId, getOdataType, setAdditionalData, setBackingStore, setId, setOdataType
-
Constructor Details
-
WorkbookTable
public WorkbookTable()Instantiates a newWorkbookTable
and sets the default values.
-
-
Method Details
-
createFromDiscriminatorValue
@Nonnull public static WorkbookTable 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
WorkbookTable
-
getColumns
Gets the columns property value. The list of all the columns in the table. Read-only.- Returns:
- a
List<WorkbookTableColumn>
-
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>>
-
getHighlightFirstColumn
Gets the highlightFirstColumn property value. Indicates whether the first column contains special formatting.- Returns:
- a
Boolean
-
getHighlightLastColumn
Gets the highlightLastColumn property value. Indicates whether the last column contains special formatting.- Returns:
- a
Boolean
-
getLegacyId
Gets the legacyId property value. A legacy identifier used in older Excel clients. The value of the identifier remains the same even when the table is renamed. This property should be interpreted as an opaque string value and shouldn't be parsed to any other type. Read-only.- Returns:
- a
String
-
getName
Gets the name property value. The name of the table.- Returns:
- a
String
-
getRows
Gets the rows property value. The list of all the rows in the table. Read-only.- Returns:
- a
List<WorkbookTableRow>
-
getShowBandedColumns
Gets the showBandedColumns property value. Indicates whether the columns show banded formatting in which odd columns are highlighted differently from even ones to make reading the table easier.- Returns:
- a
Boolean
-
getShowBandedRows
Gets the showBandedRows property value. Indicates whether the rows show banded formatting in which odd rows are highlighted differently from even ones to make reading the table easier.- Returns:
- a
Boolean
-
getShowFilterButton
Gets the showFilterButton property value. Indicates whether the filter buttons are visible at the top of each column header. Setting this is only allowed if the table contains a header row.- Returns:
- a
Boolean
-
getShowHeaders
Gets the showHeaders property value. Indicates whether the header row is visible or not. This value can be set to show or remove the header row.- Returns:
- a
Boolean
-
getShowTotals
Gets the showTotals property value. Indicates whether the total row is visible or not. This value can be set to show or remove the total row.- Returns:
- a
Boolean
-
getSort
Gets the sort property value. The sorting for the table. Read-only.- Returns:
- a
WorkbookTableSort
-
getStyle
Gets the style property value. A constant value that represents the Table style. Possible values are: TableStyleLight1 through TableStyleLight21, TableStyleMedium1 through TableStyleMedium28, TableStyleStyleDark1 through TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified.- Returns:
- a
String
-
getWorksheet
Gets the worksheet property value. The worksheet containing the current table. Read-only.- Returns:
- a
WorkbookWorksheet
-
serialize
public void serialize(@Nonnull com.microsoft.kiota.serialization.SerializationWriter writer) Serializes information the current object -
setColumns
Sets the columns property value. The list of all the columns in the table. Read-only.- Parameters:
value
- Value to set for the columns property.
-
setHighlightFirstColumn
Sets the highlightFirstColumn property value. Indicates whether the first column contains special formatting.- Parameters:
value
- Value to set for the highlightFirstColumn property.
-
setHighlightLastColumn
Sets the highlightLastColumn property value. Indicates whether the last column contains special formatting.- Parameters:
value
- Value to set for the highlightLastColumn property.
-
setLegacyId
Sets the legacyId property value. A legacy identifier used in older Excel clients. The value of the identifier remains the same even when the table is renamed. This property should be interpreted as an opaque string value and shouldn't be parsed to any other type. Read-only.- Parameters:
value
- Value to set for the legacyId property.
-
setName
Sets the name property value. The name of the table.- Parameters:
value
- Value to set for the name property.
-
setRows
Sets the rows property value. The list of all the rows in the table. Read-only.- Parameters:
value
- Value to set for the rows property.
-
setShowBandedColumns
Sets the showBandedColumns property value. Indicates whether the columns show banded formatting in which odd columns are highlighted differently from even ones to make reading the table easier.- Parameters:
value
- Value to set for the showBandedColumns property.
-
setShowBandedRows
Sets the showBandedRows property value. Indicates whether the rows show banded formatting in which odd rows are highlighted differently from even ones to make reading the table easier.- Parameters:
value
- Value to set for the showBandedRows property.
-
setShowFilterButton
Sets the showFilterButton property value. Indicates whether the filter buttons are visible at the top of each column header. Setting this is only allowed if the table contains a header row.- Parameters:
value
- Value to set for the showFilterButton property.
-
setShowHeaders
Sets the showHeaders property value. Indicates whether the header row is visible or not. This value can be set to show or remove the header row.- Parameters:
value
- Value to set for the showHeaders property.
-
setShowTotals
Sets the showTotals property value. Indicates whether the total row is visible or not. This value can be set to show or remove the total row.- Parameters:
value
- Value to set for the showTotals property.
-
setSort
Sets the sort property value. The sorting for the table. Read-only.- Parameters:
value
- Value to set for the sort property.
-
setStyle
Sets the style property value. A constant value that represents the Table style. Possible values are: TableStyleLight1 through TableStyleLight21, TableStyleMedium1 through TableStyleMedium28, TableStyleStyleDark1 through TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified.- Parameters:
value
- Value to set for the style property.
-
setWorksheet
Sets the worksheet property value. The worksheet containing the current table. Read-only.- Parameters:
value
- Value to set for the worksheet property.
-