Class PivotTablesRequestBuilder
java.lang.Object
com.microsoft.kiota.BaseRequestBuilder
com.microsoft.graph.drives.item.items.item.workbook.worksheets.item.pivottables.PivotTablesRequestBuilder
@Generated("com.microsoft.kiota")
public class PivotTablesRequestBuilder
extends com.microsoft.kiota.BaseRequestBuilder
Provides operations to manage the pivotTables property of the microsoft.graph.workbookWorksheet entity.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionclassThe list of piot tables that are part of the worksheet.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
ConstructorsConstructorDescriptionPivotTablesRequestBuilder(String rawUrl, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPivotTablesRequestBuilderand sets the default values.PivotTablesRequestBuilder(HashMap<String, Object> pathParameters, com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPivotTablesRequestBuilderand sets the default values. -
Method Summary
Modifier and TypeMethodDescriptionbyWorkbookPivotTableId(String workbookPivotTableId) Provides operations to manage the pivotTables property of the microsoft.graph.workbookWorksheet entity.count()Provides operations to count the resources in the collection.get()The list of piot tables that are part of the worksheet.get(Consumer<PivotTablesRequestBuilder.GetRequestConfiguration> requestConfiguration) The list of piot tables that are part of the worksheet.post(WorkbookPivotTable body) Create new navigation property to pivotTables for drivespost(WorkbookPivotTable body, Consumer<PivotTablesRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to pivotTables for drivesProvides operations to call the refreshAll method.com.microsoft.kiota.RequestInformationThe list of piot tables that are part of the worksheet.com.microsoft.kiota.RequestInformationtoGetRequestInformation(Consumer<PivotTablesRequestBuilder.GetRequestConfiguration> requestConfiguration) The list of piot tables that are part of the worksheet.com.microsoft.kiota.RequestInformationCreate new navigation property to pivotTables for drivescom.microsoft.kiota.RequestInformationtoPostRequestInformation(WorkbookPivotTable body, Consumer<PivotTablesRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to pivotTables for drivesReturns a request builder with the provided arbitrary URL.
-
Constructor Details
-
PivotTablesRequestBuilder
public PivotTablesRequestBuilder(@Nonnull HashMap<String, Object> pathParameters, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPivotTablesRequestBuilderand sets the default values.- Parameters:
pathParameters- Path parameters for the requestrequestAdapter- The request adapter to use to execute the requests.
-
PivotTablesRequestBuilder
public PivotTablesRequestBuilder(@Nonnull String rawUrl, @Nonnull com.microsoft.kiota.RequestAdapter requestAdapter) Instantiates a newPivotTablesRequestBuilderand 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
-
count
Provides operations to count the resources in the collection.- Returns:
- a
CountRequestBuilder
-
refreshAll
Provides operations to call the refreshAll method.- Returns:
- a
RefreshAllRequestBuilder
-
byWorkbookPivotTableId
@Nonnull public WorkbookPivotTableItemRequestBuilder byWorkbookPivotTableId(@Nonnull String workbookPivotTableId) Provides operations to manage the pivotTables property of the microsoft.graph.workbookWorksheet entity.- Parameters:
workbookPivotTableId- The unique identifier of workbookPivotTable- Returns:
- a
WorkbookPivotTableItemRequestBuilder
-
get
The list of piot tables that are part of the worksheet.- Returns:
- a
WorkbookPivotTableCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
get
@Nullable public WorkbookPivotTableCollectionResponse get(@Nullable Consumer<PivotTablesRequestBuilder.GetRequestConfiguration> requestConfiguration) The list of piot tables that are part of the worksheet.- Parameters:
requestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
WorkbookPivotTableCollectionResponse - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
post
Create new navigation property to pivotTables for drives- Parameters:
body- The request body- Returns:
- a
WorkbookPivotTable - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
post
@Nullable public WorkbookPivotTable post(@Nonnull WorkbookPivotTable body, @Nullable Consumer<PivotTablesRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to pivotTables for drives- Parameters:
body- The request bodyrequestConfiguration- Configuration for the request such as headers, query parameters, and middleware options.- Returns:
- a
WorkbookPivotTable - Throws:
ODataError- When receiving a 4XX or 5XX status code
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation()The list of piot tables that are part of the worksheet.- Returns:
- a
RequestInformation
-
toGetRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toGetRequestInformation(@Nullable Consumer<PivotTablesRequestBuilder.GetRequestConfiguration> requestConfiguration) The list of piot tables that are part of the worksheet.- 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 WorkbookPivotTable body) Create new navigation property to pivotTables for drives- Parameters:
body- The request body- Returns:
- a
RequestInformation
-
toPostRequestInformation
@Nonnull public com.microsoft.kiota.RequestInformation toPostRequestInformation(@Nonnull WorkbookPivotTable body, @Nullable Consumer<PivotTablesRequestBuilder.PostRequestConfiguration> requestConfiguration) Create new navigation property to pivotTables 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
PivotTablesRequestBuilder
-