MicrosoftGraphWorkbookWorksheet Class

public final class MicrosoftGraphWorkbookWorksheet
extends MicrosoftGraphEntity

workbookWorksheet.

Constructor Summary

Constructor Description
MicrosoftGraphWorkbookWorksheet()

Creates an instance of MicrosoftGraphWorkbookWorksheet class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: workbookWorksheet.

List<MicrosoftGraphWorkbookChart> charts()

Get the charts property: Returns collection of charts that are part of the worksheet.

static MicrosoftGraphWorkbookWorksheet fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookWorksheet from the JsonReader.

String name()

Get the name property: The display name of the worksheet.

List<MicrosoftGraphWorkbookNamedItem> names()

Get the names property: Returns collection of names that are associated with the worksheet.

List<MicrosoftGraphWorkbookPivotTable> pivotTables()

Get the pivotTables property: Collection of PivotTables that are part of the worksheet.

Integer position()

Get the position property: The zero-based position of the worksheet within the workbook.

MicrosoftGraphWorkbookWorksheetProtection protection()

Get the protection property: workbookWorksheetProtection.

List<MicrosoftGraphWorkbookTable> tables()

Get the tables property: Collection of tables that are part of the worksheet.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String visibility()

Get the visibility property: The Visibility of the worksheet.

MicrosoftGraphWorkbookWorksheet withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: workbookWorksheet.

MicrosoftGraphWorkbookWorksheet withCharts(List<MicrosoftGraphWorkbookChart> charts)

Set the charts property: Returns collection of charts that are part of the worksheet.

MicrosoftGraphWorkbookWorksheet withId(String id)

Set the id property: Read-only.

MicrosoftGraphWorkbookWorksheet withName(String name)

Set the name property: The display name of the worksheet.

MicrosoftGraphWorkbookWorksheet withNames(List<MicrosoftGraphWorkbookNamedItem> names)

Set the names property: Returns collection of names that are associated with the worksheet.

MicrosoftGraphWorkbookWorksheet withPivotTables(List<MicrosoftGraphWorkbookPivotTable> pivotTables)

Set the pivotTables property: Collection of PivotTables that are part of the worksheet.

MicrosoftGraphWorkbookWorksheet withPosition(Integer position)

Set the position property: The zero-based position of the worksheet within the workbook.

MicrosoftGraphWorkbookWorksheet withProtection(MicrosoftGraphWorkbookWorksheetProtection protection)

Set the protection property: workbookWorksheetProtection.

MicrosoftGraphWorkbookWorksheet withTables(List<MicrosoftGraphWorkbookTable> tables)

Set the tables property: Collection of tables that are part of the worksheet.

MicrosoftGraphWorkbookWorksheet withVisibility(String visibility)

Set the visibility property: The Visibility of the worksheet.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphWorkbookWorksheet

public MicrosoftGraphWorkbookWorksheet()

Creates an instance of MicrosoftGraphWorkbookWorksheet class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: workbookWorksheet.

Overrides:

MicrosoftGraphWorkbookWorksheet.additionalProperties()

Returns:

the additionalProperties value.

charts

public List charts()

Get the charts property: Returns collection of charts that are part of the worksheet. Read-only.

Returns:

the charts value.

fromJson

public static MicrosoftGraphWorkbookWorksheet fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbookWorksheet from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphWorkbookWorksheet 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 MicrosoftGraphWorkbookWorksheet.

name

public String name()

Get the name property: The display name of the worksheet.

Returns:

the name value.

names

public List names()

Get the names property: Returns collection of names that are associated with the worksheet. Read-only.

Returns:

the names value.

pivotTables

public List pivotTables()

Get the pivotTables property: Collection of PivotTables that are part of the worksheet.

Returns:

the pivotTables value.

position

public Integer position()

Get the position property: The zero-based position of the worksheet within the workbook.

Returns:

the position value.

protection

public MicrosoftGraphWorkbookWorksheetProtection protection()

Get the protection property: workbookWorksheetProtection.

Returns:

the protection value.

tables

public List tables()

Get the tables property: Collection of tables that are part of the worksheet. Read-only.

Returns:

the tables value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphWorkbookWorksheet.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphWorkbookWorksheet.validate()

visibility

public String visibility()

Get the visibility property: The Visibility of the worksheet. The possible values are: Visible, Hidden, VeryHidden.

Returns:

the visibility value.

withAdditionalProperties

public MicrosoftGraphWorkbookWorksheet withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: workbookWorksheet.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphWorkbookWorksheet object itself.

withCharts

public MicrosoftGraphWorkbookWorksheet withCharts(List charts)

Set the charts property: Returns collection of charts that are part of the worksheet. Read-only.

Parameters:

charts - the charts value to set.

Returns:

the MicrosoftGraphWorkbookWorksheet object itself.

withId

public MicrosoftGraphWorkbookWorksheet withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphWorkbookWorksheet.withId(String id)

Parameters:

id

withName

public MicrosoftGraphWorkbookWorksheet withName(String name)

Set the name property: The display name of the worksheet.

Parameters:

name - the name value to set.

Returns:

the MicrosoftGraphWorkbookWorksheet object itself.

withNames

public MicrosoftGraphWorkbookWorksheet withNames(List names)

Set the names property: Returns collection of names that are associated with the worksheet. Read-only.

Parameters:

names - the names value to set.

Returns:

the MicrosoftGraphWorkbookWorksheet object itself.

withPivotTables

public MicrosoftGraphWorkbookWorksheet withPivotTables(List pivotTables)

Set the pivotTables property: Collection of PivotTables that are part of the worksheet.

Parameters:

pivotTables - the pivotTables value to set.

Returns:

the MicrosoftGraphWorkbookWorksheet object itself.

withPosition

public MicrosoftGraphWorkbookWorksheet withPosition(Integer position)

Set the position property: The zero-based position of the worksheet within the workbook.

Parameters:

position - the position value to set.

Returns:

the MicrosoftGraphWorkbookWorksheet object itself.

withProtection

public MicrosoftGraphWorkbookWorksheet withProtection(MicrosoftGraphWorkbookWorksheetProtection protection)

Set the protection property: workbookWorksheetProtection.

Parameters:

protection - the protection value to set.

Returns:

the MicrosoftGraphWorkbookWorksheet object itself.

withTables

public MicrosoftGraphWorkbookWorksheet withTables(List tables)

Set the tables property: Collection of tables that are part of the worksheet. Read-only.

Parameters:

tables - the tables value to set.

Returns:

the MicrosoftGraphWorkbookWorksheet object itself.

withVisibility

public MicrosoftGraphWorkbookWorksheet withVisibility(String visibility)

Set the visibility property: The Visibility of the worksheet. The possible values are: Visible, Hidden, VeryHidden.

Parameters:

visibility - the visibility value to set.

Returns:

the MicrosoftGraphWorkbookWorksheet object itself.

Applies to