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
  • Constructor Details

    • WorkbookTable

      public WorkbookTable()
      Instantiates a new WorkbookTable 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

      @Nullable public List<WorkbookTableColumn> 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 interface com.microsoft.kiota.serialization.Parsable
      Overrides:
      getFieldDeserializers in class Entity
      Returns:
      a Map<String,Consumer<com.microsoft.kiota.serialization.ParseNode>>
    • getHighlightFirstColumn

      @Nullable public Boolean getHighlightFirstColumn()
      Gets the highlightFirstColumn property value. Indicates whether the first column contains special formatting.
      Returns:
      a Boolean
    • getHighlightLastColumn

      @Nullable public Boolean getHighlightLastColumn()
      Gets the highlightLastColumn property value. Indicates whether the last column contains special formatting.
      Returns:
      a Boolean
    • getLegacyId

      @Nullable public String 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

      @Nullable public String getName()
      Gets the name property value. The name of the table.
      Returns:
      a String
    • getRows

      @Nullable public List<WorkbookTableRow> getRows()
      Gets the rows property value. The list of all the rows in the table. Read-only.
      Returns:
      a List<WorkbookTableRow>
    • getShowBandedColumns

      @Nullable public Boolean 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

      @Nullable public 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

      @Nullable public 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

      @Nullable public 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

      @Nullable public 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

      @Nullable public WorkbookTableSort getSort()
      Gets the sort property value. The sorting for the table. Read-only.
      Returns:
      a WorkbookTableSort
    • getStyle

      @Nullable public String 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

      @Nullable public WorkbookWorksheet 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
      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
    • setColumns

      public void setColumns(@Nullable List<WorkbookTableColumn> value)
      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

      public void setHighlightFirstColumn(@Nullable Boolean value)
      Sets the highlightFirstColumn property value. Indicates whether the first column contains special formatting.
      Parameters:
      value - Value to set for the highlightFirstColumn property.
    • setHighlightLastColumn

      public void setHighlightLastColumn(@Nullable Boolean value)
      Sets the highlightLastColumn property value. Indicates whether the last column contains special formatting.
      Parameters:
      value - Value to set for the highlightLastColumn property.
    • setLegacyId

      public void setLegacyId(@Nullable String value)
      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

      public void setName(@Nullable String value)
      Sets the name property value. The name of the table.
      Parameters:
      value - Value to set for the name property.
    • setRows

      public void setRows(@Nullable List<WorkbookTableRow> value)
      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

      public void setShowBandedColumns(@Nullable Boolean value)
      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

      public void setShowBandedRows(@Nullable Boolean value)
      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

      public void setShowFilterButton(@Nullable Boolean value)
      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

      public void setShowHeaders(@Nullable Boolean value)
      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

      public void setShowTotals(@Nullable Boolean value)
      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

      public void setSort(@Nullable WorkbookTableSort value)
      Sets the sort property value. The sorting for the table. Read-only.
      Parameters:
      value - Value to set for the sort property.
    • setStyle

      public void setStyle(@Nullable String value)
      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

      public void setWorksheet(@Nullable WorkbookWorksheet value)
      Sets the worksheet property value. The worksheet containing the current table. Read-only.
      Parameters:
      value - Value to set for the worksheet property.