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.BooleanhighlightFirstColumn()Get the highlightFirstColumn property: Indicates whether the first column contains special formatting.BooleanhighlightLastColumn()Get the highlightLastColumn property: Indicates whether the last column contains special formatting.StringlegacyId()Get the legacyId property: Legacy Id used in older Excle clients.Stringname()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.BooleanshowBandedColumns()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.BooleanshowBandedRows()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.BooleanshowFilterButton()Get the showFilterButton property: Indicates whether the filter buttons are visible at the top of each column header.BooleanshowHeaders()Get the showHeaders property: Indicates whether the header row is visible or not.BooleanshowTotals()Get the showTotals property: Indicates whether the total row is visible or not.MicrosoftGraphWorkbookTableSortsort()Get the sort property: workbookTableSort.Stringstyle()Get the style property: Constant value that represents the Table style.voidvalidate()Validates the instance.MicrosoftGraphWorkbookTablewithAdditionalProperties(Map<String,Object> additionalProperties)Set the additionalProperties property: workbookTable.MicrosoftGraphWorkbookTablewithColumns(List<MicrosoftGraphWorkbookTableColumn> columns)Set the columns property: Represents a collection of all the columns in the table.MicrosoftGraphWorkbookTablewithHighlightFirstColumn(Boolean highlightFirstColumn)Set the highlightFirstColumn property: Indicates whether the first column contains special formatting.MicrosoftGraphWorkbookTablewithHighlightLastColumn(Boolean highlightLastColumn)Set the highlightLastColumn property: Indicates whether the last column contains special formatting.MicrosoftGraphWorkbookTablewithId(String id)Set the id property: Read-only.MicrosoftGraphWorkbookTablewithLegacyId(String legacyId)Set the legacyId property: Legacy Id used in older Excle clients.MicrosoftGraphWorkbookTablewithName(String name)Set the name property: Name of the table.MicrosoftGraphWorkbookTablewithRows(List<MicrosoftGraphWorkbookTableRow> rows)Set the rows property: Represents a collection of all the rows in the table.MicrosoftGraphWorkbookTablewithShowBandedColumns(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.MicrosoftGraphWorkbookTablewithShowBandedRows(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.MicrosoftGraphWorkbookTablewithShowFilterButton(Boolean showFilterButton)Set the showFilterButton property: Indicates whether the filter buttons are visible at the top of each column header.MicrosoftGraphWorkbookTablewithShowHeaders(Boolean showHeaders)Set the showHeaders property: Indicates whether the header row is visible or not.MicrosoftGraphWorkbookTablewithShowTotals(Boolean showTotals)Set the showTotals property: Indicates whether the total row is visible or not.MicrosoftGraphWorkbookTablewithSort(MicrosoftGraphWorkbookTableSort sort)Set the sort property: workbookTableSort.MicrosoftGraphWorkbookTablewithStyle(String style)Set the style property: Constant value that represents the Table style.MicrosoftGraphWorkbookTablewithWorksheet(MicrosoftGraphWorkbookWorksheet worksheet)Set the worksheet property: workbookWorksheet.MicrosoftGraphWorkbookWorksheetworksheet()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:
additionalPropertiesin classMicrosoftGraphEntity- Returns:
- the additionalProperties value.
-
withAdditionalProperties
public MicrosoftGraphWorkbookTable withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: workbookTable.- Overrides:
withAdditionalPropertiesin 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:
withIdin classMicrosoftGraphEntity- Parameters:
id- the id value to set.- Returns:
- the MicrosoftGraphEntity object itself.
-
validate
public void validate()
Validates the instance.- Overrides:
validatein classMicrosoftGraphEntity- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-