Class TablesRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.drives.item.items.item.workbook.tables.TablesRequestBuilder
@Generated("com.microsoft.kiota")
public class TablesRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the tables property of the microsoft.graph.workbook entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassRepresents a collection of tables associated with the workbook.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
ConstructorsConstructorDescriptionTablesRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newTablesRequestBuilderand sets the default values.TablesRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newTablesRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionadd()Provides operations to call the add method.byWorkbookTableId(String workbookTableId) Provides operations to manage the tables property of the microsoft.graph.workbook entity.count()Provides operations to call the count method.get()Represents a collection of tables associated with the workbook.get(Consumer<TablesRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents a collection of tables associated with the workbook.itemAtWithIndex(Integer index) Provides operations to call the itemAt method.post(WorkbookTable body) Create new navigation property to tables for drivespost(WorkbookTable body, Consumer<TablesRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to tables for drivescom.microsoft.kiota.RequestInformationRepresents a collection of tables associated with the workbook.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<TablesRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents a collection of tables associated with the workbook.com.microsoft.kiota.RequestInformationCreate new navigation property to tables for drivescom.microsoft.kiota.RequestInformationtoPostRequestInformation(WorkbookTable body, Consumer<TablesRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to tables for drivesReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
TablesRequestBuilder
public TablesRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newTablesRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
TablesRequestBuilder
public TablesRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newTablesRequestBuilderand 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
-
add
Provides operations to call the add method.- Returns:
- a
AddRequestBuilder
-
count
Provides operations to call the count method.- Returns:
- a
CountRequestBuilder
-
byWorkbookTableId
Provides operations to manage the tables property of the microsoft.graph.workbook entity.- Parameters:
workbookTableId- The unique identifier of workbookTable- Returns:
- a
WorkbookTableItemRequestBuilder
-
get
Represents a collection of tables associated with the workbook. Read-only.- Returns:
- a
WorkbookTableCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public WorkbookTableCollectionResponse get(@Nullable Consumer<TablesRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents a collection of tables associated with the workbook. Read-only.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
WorkbookTableCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
itemAtWithIndex
Provides operations to call the itemAt method.- Parameters:
index- Usage: index={index}- Returns:
- a
ItemAtWithIndexRequestBuilder
-
post
Create new navigation property to tables for drives- Parameters:
body- The request body- Returns:
- a
WorkbookTable - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
post
@Nullable public WorkbookTable post(@Nonnull WorkbookTable body, @Nullable Consumer<TablesRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to tables for drives- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
WorkbookTable - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()Represents a collection of tables associated with the workbook. Read-only.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<TablesRequestBuilder.GetRequestConfiguration> requestConfiguration) Represents a collection of tables associated with the workbook. Read-only.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull WorkbookTable body) Create new navigation property to tables for drives- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull WorkbookTable body, @Nullable Consumer<TablesRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to tables for 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
TablesRequestBuilder
-