MicrosoftGraphWorkbook Class

public final class MicrosoftGraphWorkbook
extends MicrosoftGraphEntity

workbook.

Constructor Summary

Constructor Description
MicrosoftGraphWorkbook()

Creates an instance of MicrosoftGraphWorkbook class.

Method Summary

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

Get the additionalProperties property: workbook.

MicrosoftGraphWorkbookApplication application()

Get the application property: workbookApplication.

List<MicrosoftGraphWorkbookComment> comments()

Get the comments property: The comments property.

static MicrosoftGraphWorkbook fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbook from the JsonReader.

MicrosoftGraphWorkbookFunctions functions()

Get the functions property: workbookFunctions.

List<MicrosoftGraphWorkbookNamedItem> names()

Get the names property: Represents a collection of workbook scoped named items (named ranges and constants).

List<MicrosoftGraphWorkbookOperation> operations()

Get the operations property: The status of workbook operations.

List<MicrosoftGraphWorkbookTable> tables()

Get the tables property: Represents a collection of tables associated with the workbook.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

MicrosoftGraphWorkbook withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: workbook.

MicrosoftGraphWorkbook withApplication(MicrosoftGraphWorkbookApplication application)

Set the application property: workbookApplication.

MicrosoftGraphWorkbook withComments(List<MicrosoftGraphWorkbookComment> comments)

Set the comments property: The comments property.

MicrosoftGraphWorkbook withFunctions(MicrosoftGraphWorkbookFunctions functions)

Set the functions property: workbookFunctions.

MicrosoftGraphWorkbook withId(String id)

Set the id property: Read-only.

MicrosoftGraphWorkbook withNames(List<MicrosoftGraphWorkbookNamedItem> names)

Set the names property: Represents a collection of workbook scoped named items (named ranges and constants).

MicrosoftGraphWorkbook withOperations(List<MicrosoftGraphWorkbookOperation> operations)

Set the operations property: The status of workbook operations.

MicrosoftGraphWorkbook withTables(List<MicrosoftGraphWorkbookTable> tables)

Set the tables property: Represents a collection of tables associated with the workbook.

MicrosoftGraphWorkbook withWorksheets(List<MicrosoftGraphWorkbookWorksheet> worksheets)

Set the worksheets property: Represents a collection of worksheets associated with the workbook.

List<MicrosoftGraphWorkbookWorksheet> worksheets()

Get the worksheets property: Represents a collection of worksheets associated with the workbook.

Methods inherited from MicrosoftGraphEntity

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphWorkbook

public MicrosoftGraphWorkbook()

Creates an instance of MicrosoftGraphWorkbook class.

Method Details

additionalProperties

public Map additionalProperties()

Get the additionalProperties property: workbook.

Overrides:

MicrosoftGraphWorkbook.additionalProperties()

Returns:

the additionalProperties value.

application

public MicrosoftGraphWorkbookApplication application()

Get the application property: workbookApplication.

Returns:

the application value.

comments

public List comments()

Get the comments property: The comments property.

Returns:

the comments value.

fromJson

public static MicrosoftGraphWorkbook fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphWorkbook from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

functions

public MicrosoftGraphWorkbookFunctions functions()

Get the functions property: workbookFunctions.

Returns:

the functions value.

names

public List names()

Get the names property: Represents a collection of workbook scoped named items (named ranges and constants). Read-only.

Returns:

the names value.

operations

public List operations()

Get the operations property: The status of workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only.

Returns:

the operations value.

tables

public List tables()

Get the tables property: Represents a collection of tables associated with the workbook. Read-only.

Returns:

the tables value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphWorkbook.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphWorkbook.validate()

withAdditionalProperties

public MicrosoftGraphWorkbook withAdditionalProperties(Map additionalProperties)

Set the additionalProperties property: workbook.

Overrides:

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

Parameters:

additionalProperties - the additionalProperties value to set.

Returns:

the MicrosoftGraphWorkbook object itself.

withApplication

public MicrosoftGraphWorkbook withApplication(MicrosoftGraphWorkbookApplication application)

Set the application property: workbookApplication.

Parameters:

application - the application value to set.

Returns:

the MicrosoftGraphWorkbook object itself.

withComments

public MicrosoftGraphWorkbook withComments(List comments)

Set the comments property: The comments property.

Parameters:

comments - the comments value to set.

Returns:

the MicrosoftGraphWorkbook object itself.

withFunctions

public MicrosoftGraphWorkbook withFunctions(MicrosoftGraphWorkbookFunctions functions)

Set the functions property: workbookFunctions.

Parameters:

functions - the functions value to set.

Returns:

the MicrosoftGraphWorkbook object itself.

withId

public MicrosoftGraphWorkbook withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphWorkbook.withId(String id)

Parameters:

id

withNames

public MicrosoftGraphWorkbook withNames(List names)

Set the names property: Represents a collection of workbook scoped named items (named ranges and constants). Read-only.

Parameters:

names - the names value to set.

Returns:

the MicrosoftGraphWorkbook object itself.

withOperations

public MicrosoftGraphWorkbook withOperations(List operations)

Set the operations property: The status of workbook operations. Getting an operation collection is not supported, but you can get the status of a long-running operation if the Location header is returned in the response. Read-only.

Parameters:

operations - the operations value to set.

Returns:

the MicrosoftGraphWorkbook object itself.

withTables

public MicrosoftGraphWorkbook withTables(List tables)

Set the tables property: Represents a collection of tables associated with the workbook. Read-only.

Parameters:

tables - the tables value to set.

Returns:

the MicrosoftGraphWorkbook object itself.

withWorksheets

public MicrosoftGraphWorkbook withWorksheets(List worksheets)

Set the worksheets property: Represents a collection of worksheets associated with the workbook. Read-only.

Parameters:

worksheets - the worksheets value to set.

Returns:

the MicrosoftGraphWorkbook object itself.

worksheets

public List worksheets()

Get the worksheets property: Represents a collection of worksheets associated with the workbook. Read-only.

Returns:

the worksheets value.

Applies to