你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

MicrosoftGraphWorkbookTable Class

public final class MicrosoftGraphWorkbookTable
extends MicrosoftGraphEntity

workbookTable.

Constructor Summary

Constructor Description
MicrosoftGraphWorkbookTable()

Creates an instance of MicrosoftGraphWorkbookTable class.

Method Summary

Modifier and Type Method and 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.

static MicrosoftGraphWorkbookTable fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookTable from the JsonReader.

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.

JsonWriter toJson(JsonWriter jsonWriter)
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 MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphWorkbookTable

public MicrosoftGraphWorkbookTable()

Creates an instance of MicrosoftGraphWorkbookTable class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: workbookTable.

Overrides:

MicrosoftGraphWorkbookTable.additionalProperties()

Returns:

the additionalProperties value.

columns

public List columns()

Get the columns property: Represents a collection of all the columns in the table. Read-only.

Returns:

the columns value.

fromJson

public static MicrosoftGraphWorkbookTable fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookTable from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphWorkbookTable if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphWorkbookTable.

highlightFirstColumn

public Boolean highlightFirstColumn()

Get the highlightFirstColumn property: Indicates whether the first column contains special formatting.

Returns:

the highlightFirstColumn value.

highlightLastColumn

public Boolean highlightLastColumn()

Get the highlightLastColumn property: Indicates whether the last column contains special formatting.

Returns:

the highlightLastColumn value.

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.

name

public String name()

Get the name property: Name of the table.

Returns:

the name value.

rows

public List rows()

Get the rows property: Represents a collection of all the rows in the table. Read-only.

Returns:

the rows value.

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.

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.

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.

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.

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.

sort

public MicrosoftGraphWorkbookTableSort sort()

Get the sort property: workbookTableSort.

Returns:

the sort value.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphWorkbookTable.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphWorkbookTable.validate()

withAdditionalProperties

public MicrosoftGraphWorkbookTable withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: workbookTable.

Overrides:

MicrosoftGraphWorkbookTable.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphWorkbookTable object itself.

withColumns

public MicrosoftGraphWorkbookTable withColumns(List 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.

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.

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.

withId

public MicrosoftGraphWorkbookTable withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphWorkbookTable.withId(String id)

Parameters:

id

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.

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.

withRows

public MicrosoftGraphWorkbookTable withRows(List 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.

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.

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.

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.

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.

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.

withSort

public MicrosoftGraphWorkbookTable withSort(MicrosoftGraphWorkbookTableSort sort)

Set the sort property: workbookTableSort.

Parameters:

sort - the sort value to set.

Returns:

the MicrosoftGraphWorkbookTable object itself.

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.

withWorksheet

public MicrosoftGraphWorkbookTable withWorksheet(MicrosoftGraphWorkbookWorksheet worksheet)

Set the worksheet property: workbookWorksheet.

Parameters:

worksheet - the worksheet value to set.

Returns:

the MicrosoftGraphWorkbookTable object itself.

worksheet

public MicrosoftGraphWorkbookWorksheet worksheet()

Get the worksheet property: workbookWorksheet.

Returns:

the worksheet value.

Applies to