Class WorkbookRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.drives.item.items.item.workbook.WorkbookRequestBuilder
@Generated("com.microsoft.kiota")
public class WorkbookRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the workbook property of the microsoft.graph.driveItem entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassConfiguration for the request such as headers, query parameters, and middleware options.classFor files that are Excel spreadsheets, access to the workbook API to work with the spreadsheet's contents.classConfiguration for the request such as headers, query parameters, and middleware options.classConfiguration for the request such as headers, query parameters, and middleware options. -
Field Summary
Fields inherited from class com.microsoft.kiota.BaseRequestBuilder
pathParameters, requestAdapter, urlTemplate -
Constructor Summary
ConstructorsConstructorDescriptionWorkbookRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newWorkbookRequestBuilderand sets the default values.WorkbookRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newWorkbookRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionProvides operations to manage the application property of the microsoft.graph.workbook entity.Provides operations to call the closeSession method.comments()Provides operations to manage the comments property of the microsoft.graph.workbook entity.Provides operations to call the createSession method.voiddelete()Delete navigation property workbook for drivesvoiddelete(Consumer<WorkbookRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property workbook for drivesProvides operations to manage the functions property of the microsoft.graph.workbook entity.get()For files that are Excel spreadsheets, access to the workbook API to work with the spreadsheet's contents.get(Consumer<WorkbookRequestBuilder.GetRequestConfiguration> requestConfiguration) For files that are Excel spreadsheets, access to the workbook API to work with the spreadsheet's contents.names()Provides operations to manage the names property of the microsoft.graph.workbook entity.Provides operations to manage the operations property of the microsoft.graph.workbook entity.Update the navigation property workbook in drivespatch(Workbook body, Consumer<WorkbookRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property workbook in drivesProvides operations to call the refreshSession method.Provides operations to call the sessionInfoResource method.Provides operations to call the tableRowOperationResult method.tables()Provides operations to manage the tables property of the microsoft.graph.workbook entity.com.microsoft.kiota.RequestInformationDelete navigation property workbook for drivescom.microsoft.kiota.RequestInformationtoDeleteRequestInformation(Consumer<WorkbookRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property workbook for drivescom.microsoft.kiota.RequestInformationFor files that are Excel spreadsheets, access to the workbook API to work with the spreadsheet's contents.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<WorkbookRequestBuilder.GetRequestConfiguration> requestConfiguration) For files that are Excel spreadsheets, access to the workbook API to work with the spreadsheet's contents.com.microsoft.kiota.RequestInformationUpdate the navigation property workbook in drivescom.microsoft.kiota.RequestInformationtoPatchRequestInformation(Workbook body, Consumer<WorkbookRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property workbook in drivesReturns a request builder with the provided arbitrary URL.Provides operations to manage the worksheets property of the microsoft.graph.workbook entity.
-
Constructor Details
-
WorkbookRequestBuilder
public WorkbookRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newWorkbookRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
WorkbookRequestBuilder
public WorkbookRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newWorkbookRequestBuilderand sets the default values.- Parameters:
rawUrl- The raw URL to use for the request builder.requestAdapter- The request adapter to use to execute the requests.
-
-
Method Details
-
application
Provides operations to manage the application property of the microsoft.graph.workbook entity.- Returns:
- a
ApplicationRequestBuilder
-
closeSession
Provides operations to call the closeSession method.- Returns:
- a
CloseSessionRequestBuilder
-
comments
Provides operations to manage the comments property of the microsoft.graph.workbook entity.- Returns:
- a
CommentsRequestBuilder
-
createSession
Provides operations to call the createSession method.- Returns:
- a
CreateSessionRequestBuilder
-
functions
Provides operations to manage the functions property of the microsoft.graph.workbook entity.- Returns:
- a
FunctionsRequestBuilder
-
names
Provides operations to manage the names property of the microsoft.graph.workbook entity.- Returns:
- a
NamesRequestBuilder
-
operations
Provides operations to manage the operations property of the microsoft.graph.workbook entity.- Returns:
- a
OperationsRequestBuilder
-
refreshSession
Provides operations to call the refreshSession method.- Returns:
- a
RefreshSessionRequestBuilder
-
tables
Provides operations to manage the tables property of the microsoft.graph.workbook entity.- Returns:
- a
TablesRequestBuilder
-
worksheets
Provides operations to manage the worksheets property of the microsoft.graph.workbook entity.- Returns:
- a
WorksheetsRequestBuilder
-
delete
public void delete()Delete navigation property workbook for drives- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
delete
public void delete(@Nullable Consumer<WorkbookRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property workbook for drives- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
For files that are Excel spreadsheets, access to the workbook API to work with the spreadsheet's contents. Nullable.- Returns:
- a
Workbook - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public Workbook get(@Nullable Consumer<WorkbookRequestBuilder.GetRequestConfiguration> requestConfiguration) For files that are Excel spreadsheets, access to the workbook API to work with the spreadsheet's contents. Nullable.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Workbook - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
Update the navigation property workbook in drives- Parameters:
body- The request body- Returns:
- a
Workbook - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
patch
@Nullable public Workbook patch(@Nonnull Workbook body, @Nullable Consumer<WorkbookRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property workbook in drives- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
Workbook - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
sessionInfoResourceWithKey
@Nonnull public SessionInfoResourceWithKeyRequestBuilder sessionInfoResourceWithKey(@Nonnull String key) Provides operations to call the sessionInfoResource method.- Parameters:
key- Usage: key='{key}'- Returns:
- a
SessionInfoResourceWithKeyRequestBuilder
-
tableRowOperationResultWithKey
@Nonnull public TableRowOperationResultWithKeyRequestBuilder tableRowOperationResultWithKey(@Nonnull String key) Provides operations to call the tableRowOperationResult method.- Parameters:
key- Usage: key='{key}'- Returns:
- a
TableRowOperationResultWithKeyRequestBuilder
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation()Delete navigation property workbook for drives- Returns:
- a
RequestInformation
-
toDeleteRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toDeleteRequestInformation(@Nullable Consumer<WorkbookRequestBuilder.DeleteRequestConfiguration> requestConfiguration) Delete navigation property workbook for drives- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()For files that are Excel spreadsheets, access to the workbook API to work with the spreadsheet's contents. Nullable.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<WorkbookRequestBuilder.GetRequestConfiguration> requestConfiguration) For files that are Excel spreadsheets, access to the workbook API to work with the spreadsheet's contents. Nullable.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull Workbook body) Update the navigation property workbook in drives- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPatchRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPatchRequestInformation(@Nonnull Workbook body, @Nullable Consumer<WorkbookRequestBuilder.PatchRequestConfiguration> requestConfiguration) Update the navigation property workbook in drives- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
withUrl
Returns a request builder with the provided arbitrary URL. Using this method means any other path or query parameters are ignored.- Parameters:
rawUrl- The raw URL to use for the request builder.- Returns:
- a
WorkbookRequestBuilder
-