Class MicrosoftGraphWorkbookTable
- java.lang.Object
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
-
- com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphWorkbookTable
-
public final class MicrosoftGraphWorkbookTable extends MicrosoftGraphEntity
workbookTable.
-
-
Constructor Summary
Constructors Constructor Description MicrosoftGraphWorkbookTable()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>
additionalProperties()
Get the additionalProperties property: workbookTable.List<MicrosoftGraphWorkbookTableColumn>
columns()
Get the columns property: Represents a collection of all the columns in the table.Boolean
highlightFirstColumn()
Get the highlightFirstColumn property: Indicates whether the first column contains special formatting.Boolean
highlightLastColumn()
Get the highlightLastColumn property: Indicates whether the last column contains special formatting.String
legacyId()
Get the legacyId property: Legacy Id used in older Excle clients.String
name()
Get the name property: Name of the table.List<MicrosoftGraphWorkbookTableRow>
rows()
Get the rows property: Represents a collection of all the rows in the table.Boolean
showBandedColumns()
Get the showBandedColumns property: Indicates whether the columns show banded formatting in which odd columns are highlighted differently from even ones to make reading the table easier.Boolean
showBandedRows()
Get the showBandedRows property: Indicates whether the rows show banded formatting in which odd rows are highlighted differently from even ones to make reading the table easier.Boolean
showFilterButton()
Get the showFilterButton property: Indicates whether the filter buttons are visible at the top of each column header.Boolean
showHeaders()
Get the showHeaders property: Indicates whether the header row is visible or not.Boolean
showTotals()
Get the showTotals property: Indicates whether the total row is visible or not.MicrosoftGraphWorkbookTableSort
sort()
Get the sort property: workbookTableSort.String
style()
Get the style property: Constant value that represents the Table style.void
validate()
Validates the instance.MicrosoftGraphWorkbookTable
withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: workbookTable.MicrosoftGraphWorkbookTable
withColumns(List<MicrosoftGraphWorkbookTableColumn> columns)
Set the columns property: Represents a collection of all the columns in the table.MicrosoftGraphWorkbookTable
withHighlightFirstColumn(Boolean highlightFirstColumn)
Set the highlightFirstColumn property: Indicates whether the first column contains special formatting.MicrosoftGraphWorkbookTable
withHighlightLastColumn(Boolean highlightLastColumn)
Set the highlightLastColumn property: Indicates whether the last column contains special formatting.MicrosoftGraphWorkbookTable
withId(String id)
Set the id property: Read-only.MicrosoftGraphWorkbookTable
withLegacyId(String legacyId)
Set the legacyId property: Legacy Id used in older Excle clients.MicrosoftGraphWorkbookTable
withName(String name)
Set the name property: Name of the table.MicrosoftGraphWorkbookTable
withRows(List<MicrosoftGraphWorkbookTableRow> rows)
Set the rows property: Represents a collection of all the rows in the table.MicrosoftGraphWorkbookTable
withShowBandedColumns(Boolean showBandedColumns)
Set the showBandedColumns property: Indicates whether the columns show banded formatting in which odd columns are highlighted differently from even ones to make reading the table easier.MicrosoftGraphWorkbookTable
withShowBandedRows(Boolean showBandedRows)
Set the showBandedRows property: Indicates whether the rows show banded formatting in which odd rows are highlighted differently from even ones to make reading the table easier.MicrosoftGraphWorkbookTable
withShowFilterButton(Boolean showFilterButton)
Set the showFilterButton property: Indicates whether the filter buttons are visible at the top of each column header.MicrosoftGraphWorkbookTable
withShowHeaders(Boolean showHeaders)
Set the showHeaders property: Indicates whether the header row is visible or not.MicrosoftGraphWorkbookTable
withShowTotals(Boolean showTotals)
Set the showTotals property: Indicates whether the total row is visible or not.MicrosoftGraphWorkbookTable
withSort(MicrosoftGraphWorkbookTableSort sort)
Set the sort property: workbookTableSort.MicrosoftGraphWorkbookTable
withStyle(String style)
Set the style property: Constant value that represents the Table style.MicrosoftGraphWorkbookTable
withWorksheet(MicrosoftGraphWorkbookWorksheet worksheet)
Set the worksheet property: workbookWorksheet.MicrosoftGraphWorkbookWorksheet
worksheet()
Get the worksheet property: workbookWorksheet.-
Methods inherited from class com.azure.resourcemanager.authorization.fluent.models.MicrosoftGraphEntity
id
-
-
-
-
Method Detail
-
highlightFirstColumn
public Boolean highlightFirstColumn()
Get the highlightFirstColumn property: Indicates whether the first column contains special formatting.- Returns:
- the highlightFirstColumn value.
-
withHighlightFirstColumn
public MicrosoftGraphWorkbookTable withHighlightFirstColumn(Boolean highlightFirstColumn)
Set the highlightFirstColumn property: Indicates whether the first column contains special formatting.- Parameters:
highlightFirstColumn
- the highlightFirstColumn value to set.- Returns:
- the MicrosoftGraphWorkbookTable object itself.
-
highlightLastColumn
public Boolean highlightLastColumn()
Get the highlightLastColumn property: Indicates whether the last column contains special formatting.- Returns:
- the highlightLastColumn value.
-
withHighlightLastColumn
public MicrosoftGraphWorkbookTable withHighlightLastColumn(Boolean highlightLastColumn)
Set the highlightLastColumn property: Indicates whether the last column contains special formatting.- Parameters:
highlightLastColumn
- the highlightLastColumn value to set.- Returns:
- the MicrosoftGraphWorkbookTable object itself.
-
legacyId
public String legacyId()
Get the legacyId property: Legacy Id used in older Excle 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 should not be parsed to any other type. Read-only.- Returns:
- the legacyId value.
-
withLegacyId
public MicrosoftGraphWorkbookTable withLegacyId(String legacyId)
Set the legacyId property: Legacy Id used in older Excle 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 should not be parsed to any other type. Read-only.- Parameters:
legacyId
- the legacyId value to set.- Returns:
- the MicrosoftGraphWorkbookTable object itself.
-
name
public String name()
Get the name property: Name of the table.- Returns:
- the name value.
-
withName
public MicrosoftGraphWorkbookTable withName(String name)
Set the name property: Name of the table.- Parameters:
name
- the name value to set.- Returns:
- the MicrosoftGraphWorkbookTable object itself.
-
showBandedColumns
public Boolean showBandedColumns()
Get the showBandedColumns property: Indicates whether the columns show banded formatting in which odd columns are highlighted differently from even ones to make reading the table easier.- Returns:
- the showBandedColumns value.
-
withShowBandedColumns
public MicrosoftGraphWorkbookTable withShowBandedColumns(Boolean showBandedColumns)
Set the showBandedColumns property: Indicates whether the columns show banded formatting in which odd columns are highlighted differently from even ones to make reading the table easier.- Parameters:
showBandedColumns
- the showBandedColumns value to set.- Returns:
- the MicrosoftGraphWorkbookTable object itself.
-
showBandedRows
public Boolean showBandedRows()
Get the showBandedRows property: Indicates whether the rows show banded formatting in which odd rows are highlighted differently from even ones to make reading the table easier.- Returns:
- the showBandedRows value.
-
withShowBandedRows
public MicrosoftGraphWorkbookTable withShowBandedRows(Boolean showBandedRows)
Set the showBandedRows property: Indicates whether the rows show banded formatting in which odd rows are highlighted differently from even ones to make reading the table easier.- Parameters:
showBandedRows
- the showBandedRows value to set.- Returns:
- the MicrosoftGraphWorkbookTable object itself.
-
showFilterButton
public Boolean showFilterButton()
Get the showFilterButton property: 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:
- the showFilterButton value.
-
withShowFilterButton
public MicrosoftGraphWorkbookTable withShowFilterButton(Boolean showFilterButton)
Set the showFilterButton property: 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:
showFilterButton
- the showFilterButton value to set.- Returns:
- the MicrosoftGraphWorkbookTable object itself.
-
showHeaders
public Boolean showHeaders()
Get the showHeaders property: Indicates whether the header row is visible or not. This value can be set to show or remove the header row.- Returns:
- the showHeaders value.
-
withShowHeaders
public MicrosoftGraphWorkbookTable withShowHeaders(Boolean showHeaders)
Set the showHeaders property: Indicates whether the header row is visible or not. This value can be set to show or remove the header row.- Parameters:
showHeaders
- the showHeaders value to set.- Returns:
- the MicrosoftGraphWorkbookTable object itself.
-
showTotals
public Boolean showTotals()
Get the showTotals property: Indicates whether the total row is visible or not. This value can be set to show or remove the total row.- Returns:
- the showTotals value.
-
withShowTotals
public MicrosoftGraphWorkbookTable withShowTotals(Boolean showTotals)
Set the showTotals property: Indicates whether the total row is visible or not. This value can be set to show or remove the total row.- Parameters:
showTotals
- the showTotals value to set.- Returns:
- the MicrosoftGraphWorkbookTable object itself.
-
style
public String style()
Get the style property: Constant value that represents the Table style. The possible values are: TableStyleLight1 thru TableStyleLight21, TableStyleMedium1 thru TableStyleMedium28, TableStyleStyleDark1 thru TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified.- Returns:
- the style value.
-
withStyle
public MicrosoftGraphWorkbookTable withStyle(String style)
Set the style property: Constant value that represents the Table style. The possible values are: TableStyleLight1 thru TableStyleLight21, TableStyleMedium1 thru TableStyleMedium28, TableStyleStyleDark1 thru TableStyleStyleDark11. A custom user-defined style present in the workbook can also be specified.- Parameters:
style
- the style value to set.- Returns:
- the MicrosoftGraphWorkbookTable object itself.
-
columns
public List<MicrosoftGraphWorkbookTableColumn> columns()
Get the columns property: Represents a collection of all the columns in the table. Read-only.- Returns:
- the columns value.
-
withColumns
public MicrosoftGraphWorkbookTable withColumns(List<MicrosoftGraphWorkbookTableColumn> columns)
Set the columns property: Represents a collection of all the columns in the table. Read-only.- Parameters:
columns
- the columns value to set.- Returns:
- the MicrosoftGraphWorkbookTable object itself.
-
rows
public List<MicrosoftGraphWorkbookTableRow> rows()
Get the rows property: Represents a collection of all the rows in the table. Read-only.- Returns:
- the rows value.
-
withRows
public MicrosoftGraphWorkbookTable withRows(List<MicrosoftGraphWorkbookTableRow> rows)
Set the rows property: Represents a collection of all the rows in the table. Read-only.- Parameters:
rows
- the rows value to set.- Returns:
- the MicrosoftGraphWorkbookTable object itself.
-
sort
public MicrosoftGraphWorkbookTableSort sort()
Get the sort property: workbookTableSort.- Returns:
- the sort value.
-
withSort
public MicrosoftGraphWorkbookTable withSort(MicrosoftGraphWorkbookTableSort sort)
Set the sort property: workbookTableSort.- Parameters:
sort
- the sort value to set.- Returns:
- the MicrosoftGraphWorkbookTable object itself.
-
worksheet
public MicrosoftGraphWorkbookWorksheet worksheet()
Get the worksheet property: workbookWorksheet.- Returns:
- the worksheet value.
-
withWorksheet
public MicrosoftGraphWorkbookTable withWorksheet(MicrosoftGraphWorkbookWorksheet worksheet)
Set the worksheet property: workbookWorksheet.- Parameters:
worksheet
- the worksheet value to set.- Returns:
- the MicrosoftGraphWorkbookTable object itself.
-
additionalProperties
public Map<String,Object> additionalProperties()
Get the additionalProperties property: workbookTable.- Overrides:
additionalProperties
in classMicrosoftGraphEntity
- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphWorkbookTable withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: workbookTable.- Overrides:
withAdditionalProperties
in classMicrosoftGraphEntity
- Parameters:
additionalProperties
- the additionalProperties value to set.- Returns:
- the MicrosoftGraphWorkbookTable object itself.
-
withId
public MicrosoftGraphWorkbookTable withId(String id)
Set the id property: Read-only.- Overrides:
withId
in classMicrosoftGraphEntity
- Parameters:
id
- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validate
in classMicrosoftGraphEntity
- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-